fix? circleci deploy
This commit is contained in:
parent
e79bacd268
commit
27550a7781
1 changed files with 3 additions and 9 deletions
12
circle.yml
12
circle.yml
|
@ -37,7 +37,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run: docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||||
- run: docker build -t mozilla/send:latest .
|
- run: docker build -t mozilla/send:latest .
|
||||||
- run: docker push mozilla/send:latest
|
- run: docker push mozilla/send:latest
|
||||||
deploy_stage:
|
deploy_stage:
|
||||||
|
@ -45,7 +45,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run: docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||||
- run: docker build -t mozilla/send:$CIRCLE_TAG .
|
- run: docker build -t mozilla/send:$CIRCLE_TAG .
|
||||||
- run: docker push mozilla/send:$CIRCLE_TAG
|
- run: docker push mozilla/send:$CIRCLE_TAG
|
||||||
workflows:
|
workflows:
|
||||||
|
@ -64,7 +64,7 @@ workflows:
|
||||||
only: master
|
only: master
|
||||||
tags:
|
tags:
|
||||||
ignore: /^v.*/
|
ignore: /^v.*/
|
||||||
- deploy_latest:
|
- deploy_dev:
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
filters:
|
filters:
|
||||||
|
@ -76,14 +76,10 @@ workflows:
|
||||||
jobs:
|
jobs:
|
||||||
- build:
|
- build:
|
||||||
filters:
|
filters:
|
||||||
branches:
|
|
||||||
only: master
|
|
||||||
tags:
|
tags:
|
||||||
only: /^v.*/
|
only: /^v.*/
|
||||||
- test:
|
- test:
|
||||||
filters:
|
filters:
|
||||||
branches:
|
|
||||||
only: master
|
|
||||||
tags:
|
tags:
|
||||||
only: /^v.*/
|
only: /^v.*/
|
||||||
- deploy_stage:
|
- deploy_stage:
|
||||||
|
@ -91,7 +87,5 @@ workflows:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
filters:
|
filters:
|
||||||
branches:
|
|
||||||
only: master
|
|
||||||
tags:
|
tags:
|
||||||
only: /^v.*/
|
only: /^v.*/
|
Loading…
Reference in a new issue