Persist docker-login artifact throughout pipeline process
This commit is contained in:
parent
e312581b1b
commit
8ee09be3d0
@ -18,6 +18,8 @@ build-job:
|
|||||||
publish-job:
|
publish-job:
|
||||||
stage: publish
|
stage: publish
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
|
dependencies:
|
||||||
|
- build-job
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
script:
|
script:
|
||||||
@ -27,6 +29,8 @@ deploy-job:
|
|||||||
stage: deploy
|
stage: deploy
|
||||||
when: manual
|
when: manual
|
||||||
image: google/cloud-sdk
|
image: google/cloud-sdk
|
||||||
|
dependencies:
|
||||||
|
- build-job
|
||||||
script:
|
script:
|
||||||
- export KUBECONFIG="$KUBE_AUTH"
|
- export KUBECONFIG="$KUBE_AUTH"
|
||||||
- cp "$ENV_PRODUCTION" "./build/.env.production"
|
- cp "$ENV_PRODUCTION" "./build/.env.production"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user