end-to-end deployment #4

Merged
alazyreader merged 11 commits from test-woodpecker into master 2022-04-21 00:45:59 +00:00
Showing only changes of commit 221e4492b5 - Show all commits

View File

@ -12,6 +12,8 @@
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD registry.yetaga.in - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD registry.yetaga.in
- docker build -t registry.yetaga.in/library:latest . - docker build -t registry.yetaga.in/library:latest .
- docker push 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] secrets: [docker_username, docker_password]
when: when:
branch: "master" branch: "master"