2017-03-10 08:45:04 +00:00
|
|
|
machine:
|
|
|
|
services:
|
|
|
|
- docker
|
2017-03-14 21:45:25 +00:00
|
|
|
environment:
|
|
|
|
IMAGE_NAME: quay.io/vektorlab/ctop
|
2017-03-10 08:45:04 +00:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
override:
|
|
|
|
- docker info
|
2017-03-19 06:14:56 +00:00
|
|
|
- make image
|
2017-03-10 08:45:04 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
override:
|
2017-03-14 23:16:04 +00:00
|
|
|
- docker run -ti ctop -v
|
2017-03-10 08:45:04 +00:00
|
|
|
|
|
|
|
deployment:
|
|
|
|
hub:
|
|
|
|
branch: master
|
|
|
|
commands:
|
2017-03-14 23:16:04 +00:00
|
|
|
- docker tag ctop ${IMAGE_NAME}:latest
|
|
|
|
- docker tag ctop ${IMAGE_NAME}:$(cat VERSION)
|
2017-03-10 08:45:04 +00:00
|
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS quay.io
|
2017-03-14 21:45:25 +00:00
|
|
|
- docker push ${IMAGE_NAME}
|