From b3be76d4780386a6629eb8846e52922eaafaf2fd Mon Sep 17 00:00:00 2001 From: David Ashby Date: Wed, 20 Apr 2022 20:21:09 -0400 Subject: [PATCH] hmm --- .woodpecker.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 298c4c3..fe46059 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -12,11 +12,17 @@ - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD registry.yetaga.in - docker build -t registry.yetaga.in/library:latest . - docker push registry.yetaga.in/library:latest - - "curl http://yetagain:4000/api/ps -H 'Authorization: Bearer ${COMPOSE_TOKEN}' || true" - - "curl http://localhost:4000/api/ps -H 'Authorization: Bearer ${COMPOSE_TOKEN}' || true" secrets: [docker_username, docker_password] when: branch: "master" + routing: + image: docker + commands: + - "curl http://yetagain:4000/api/ps -H 'Authorization: Bearer ${COMPOSE_TOKEN}' || true" + - "curl http://localhost:4000/api/ps -H 'Authorization: Bearer ${COMPOSE_TOKEN}' || true" + secrets: [COMPOSE_TOKEN] + when: + branch: "test-woodpecker" services: docker: