Add deploy stage to the build
This commit is contained in:
parent
4a99889a67
commit
d0cc4da9f0
@ -158,6 +158,18 @@ jobs:
|
|||||||
docker push ${IMAGE_NAME}
|
docker push ${IMAGE_NAME}
|
||||||
docker logout
|
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:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
run-tests:
|
run-tests:
|
||||||
@ -172,3 +184,9 @@ workflows:
|
|||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only: circleci-cd
|
only: circleci-cd
|
||||||
|
- deploy
|
||||||
|
requires:
|
||||||
|
- build_and_push_image
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only: circleci-cd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user