add arbitrary branch image pushes to circle ci

This commit is contained in:
Bradley Cicenas 2017-06-09 21:18:48 +00:00
parent af3f1e2a85
commit 1233ff0ead

View File

@ -21,3 +21,8 @@ deployment:
- docker tag ctop ${IMAGE_NAME}:$(cat VERSION)
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS quay.io
- docker push ${IMAGE_NAME}
branch: /^.*/
commands:
- docker tag ctop ${IMAGE_NAME}:${CIRCLE_BRANCH}
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS quay.io
- docker push ${IMAGE_NAME}