1
0
mirror of https://github.com/containrrr/watchtower.git synced 2024-12-15 09:14:13 +02:00

Automatically push rosscado/watchtower:auth branch to rosscado/watchtower hub

This commit is contained in:
Ross Cadogan 2016-11-08 12:07:44 +00:00
parent 6a56597d45
commit 5a03b65f30

View File

@ -20,3 +20,11 @@ deployment:
- docker build -t $IMAGE_NAME:latest .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push $IMAGE_NAME:latest
hub_mirror:
branch: auth
owner: rosscado
commands:
- docker run -v $(pwd):/src centurylink/golang-builder:latest
- docker build -t rosscado/watchtower:latest .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push rosscado/watchtower:latest