added deploy_vnext to circle.yml

This commit is contained in:
Danny Coates 2018-09-18 11:23:04 -07:00
parent 7dcf4bcdb9
commit 3d2c8c2ce2
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB

View File

@ -58,6 +58,15 @@ jobs:
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS
- run: docker build -t mozilla/send:latest .
- run: docker push mozilla/send:latest
deploy_vnext:
machine: true
steps:
- checkout
- attach_workspace:
at: .
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS
- run: docker build -t mozilla/send:vnext .
- run: docker push mozilla/send:vnext
deploy_stage:
machine: true
steps:
@ -74,11 +83,15 @@ workflows:
- build:
filters:
branches:
ignore: master
ignore:
- master
- vnext
- test:
filters:
branches:
ignore: master
ignore:
- master
- vnext
# - integration_tests:
# filters:
# branches:
@ -90,7 +103,9 @@ workflows:
- build:
filters:
branches:
only: master
only:
- master
- vnext
tags:
ignore: /^v.*/
- deploy_dev:
@ -101,6 +116,14 @@ workflows:
only: master
tags:
ignore: /^v.*/
- deploy_vnext:
requires:
- build
filters:
branches:
only: vnext
tags:
ignore: /^v.*/
build_and_deploy_stage:
jobs:
- build: