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

23 lines
525 B
YAML
Raw Normal View History

2015-07-16 00:48:49 +02:00
machine:
services:
- docker
environment:
IMAGE_NAME: centurylink/watchtower
dependencies:
override:
- docker pull bdehamer/golang-builder:latest
test:
override:
- docker run -v $(pwd):/src bdehamer/golang-builder:latest --test
deployment:
hub:
branch: master
commands:
- docker run -v $(pwd):/src bdehamer/golang-builder:latest
- docker build -t $IMAGE_NAME:latest .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push $IMAGE_NAME:latest