Try expose the secret

This commit is contained in:
dvirlabs 2025-06-16 21:49:28 +03:00
parent 78df21c8bc
commit 377c6c7910

View File

@ -53,10 +53,9 @@ steps:
- apk add --no-cache git yq - apk add --no-cache git yq
- git config --global user.name "woodpecker-bot" - git config --global user.name "woodpecker-bot"
- git config --global user.email "ci@dvirlabs.com" - git config --global user.email "ci@dvirlabs.com"
- git clone https://${GIT_USERNAME}:${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git - git clone https://dvirlabs:822acb606e5e53ce35b328840cf33fc86e018eab@git.dvirlabs.com/dvirlabs/my-apps.git
- cd my-apps - cd my-apps
- yq -i '.image.tag = "${CI_COMMIT_SHA:0:7}"' manifests/labmap/values.yaml - yq -i '.image.tag = "${CI_COMMIT_SHA:0:7}"' manifests/labmap/values.yaml
- git add manifests/labmap/values.yaml - git add manifests/labmap/values.yaml
- "git commit -m 'labmap: update image tag to ${CI_COMMIT_SHA:0:7}' || echo 'No changes'" - "git commit -m 'labmap: update image tag to ${CI_COMMIT_SHA:0:7}' || echo 'No changes'"
- git push origin master - git push origin master