Fix pipeline

This commit is contained in:
dvirlabs 2025-06-15 15:24:38 +03:00
parent dbc0f089f4
commit 9765e8f8f5

View File

@ -39,8 +39,8 @@ steps:
password: password:
from_secret: DOCKER_PASSWORD from_secret: DOCKER_PASSWORD
update-helm-values: update-values:
name: Update Helm values.yaml in my-apps name: Update my-apps image tag
image: alpine image: alpine
when: when:
branch: master branch: master
@ -50,7 +50,7 @@ steps:
GIT_DEPLOY_KEY: GIT_DEPLOY_KEY:
from_secret: GIT_DEPLOY_KEY from_secret: GIT_DEPLOY_KEY
commands: commands:
- apk add git openssh yq - apk add --no-cache git openssh yq
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo "$GIT_DEPLOY_KEY" > ~/.ssh/id_rsa - echo "$GIT_DEPLOY_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa