Try to inject the secrets using env
This commit is contained in:
parent
377c6c7910
commit
b2110ec9c9
@ -53,7 +53,7 @@ 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://dvirlabs:822acb606e5e53ce35b328840cf33fc86e018eab@git.dvirlabs.com/dvirlabs/my-apps.git
|
- git clone https://${GIT_USERNAME}:${GIT_TOKEN}@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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user