change docker image name and add builds for tags

This commit is contained in:
Daniel Thorn 2017-06-22 12:56:07 -07:00 committed by GitHub
parent 84d1267417
commit 1d60778a3f
1 changed files with 8 additions and 2 deletions

View File

@ -7,8 +7,14 @@ deployment:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker build . -t mozilla/portal:latest
- docker push mozilla/portal:latest
- docker build . -t mozilla/fileshare:latest
- docker push mozilla/fileshare:latest
tags:
tags: /.*/
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker build . -t mozilla/fileshare:$CIRCLE_TAG
- docker push mozilla/fileshare:$CIRCLE_TAG
test:
override: