Merge pull request #118 from relud/patch-2

change docker image name and add builds for tags
This commit is contained in:
Danny Coates 2017-06-22 13:35:19 -07:00 committed by GitHub
commit 6d8330992d
1 changed files with 8 additions and 2 deletions

View File

@ -7,8 +7,14 @@ deployment:
branch: master branch: master
commands: commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker build . -t mozilla/portal:latest - docker build . -t mozilla/fileshare:latest
- docker push mozilla/portal: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: test:
override: override: