Fix pipeline
This commit is contained in:
parent
dbc0f089f4
commit
9765e8f8f5
@ -39,18 +39,18 @@ steps:
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
|
||||
update-helm-values:
|
||||
name: Update Helm values.yaml in my-apps
|
||||
update-values:
|
||||
name: Update my-apps image tag
|
||||
image: alpine
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
environment:
|
||||
GIT_SSH_COMMAND: 'ssh -i /root/.ssh/id_rsa -o StrictHostKeyChecking=no'
|
||||
GIT_DEPLOY_KEY:
|
||||
GIT_DEPLOY_KEY:
|
||||
from_secret: GIT_DEPLOY_KEY
|
||||
commands:
|
||||
- apk add git openssh yq
|
||||
- apk add --no-cache git openssh yq
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$GIT_DEPLOY_KEY" > ~/.ssh/id_rsa
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user