change docker image name and add builds for tags
This commit is contained in:
parent
84d1267417
commit
1d60778a3f
1 changed files with 8 additions and 2 deletions
10
circle.yml
10
circle.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue