Add deploy stage to the build

This commit is contained in:
Devon Mackay 2018-09-10 10:08:49 -04:00 committed by Patrick Smith
parent 4a99889a67
commit d0cc4da9f0

View File

@ -158,6 +158,18 @@ jobs:
docker push ${IMAGE_NAME}
docker logout
deploy:
docker:
- image: *sourceImage
auth: *sourceAuth
environment: *dockerCmdEnvironment
steps:
- attach_workspace:
at: .
- run:
name: "Update Kubernetes Deployment"
command: ./deploy/kubernetes/atst-check-deploy.sh
workflows:
version: 2
run-tests:
@ -172,3 +184,9 @@ workflows:
filters:
branches:
only: circleci-cd
- deploy
requires:
- build_and_push_image
filters:
branches:
only: circleci-cd