|
|
@ -20,11 +20,3 @@ deployment:
|
|
|
|
- docker build -t $IMAGE_NAME:latest .
|
|
|
|
- docker build -t $IMAGE_NAME:latest .
|
|
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
|
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
|
|
|
- docker push $IMAGE_NAME:latest
|
|
|
|
- docker push $IMAGE_NAME:latest
|
|
|
|
hub_mirror:
|
|
|
|
|
|
|
|
branch: [master, 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
|
|
|
|
|
|
|
|