fix? circleci deploy

This commit is contained in:
Danny Coates 2018-02-25 17:06:28 -08:00
parent e79bacd268
commit 27550a7781
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB

View file

@ -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.*/