Try to push to my-apps repo

This commit is contained in:
dvirlabs 2025-06-16 21:44:42 +03:00
parent a6c922247b
commit 7042829f7b

View File

@ -44,6 +44,11 @@ steps:
image: alpine:3.19
when:
event: [ push ]
environment:
GIT_USERNAME:
from_secret: GIT_USERNAME
GIT_TOKEN:
from_secret: GIT_TOKEN
commands:
- apk add --no-cache git yq
- git config --global user.name "woodpecker-bot"
@ -53,8 +58,4 @@ steps:
- yq -i '.image.tag = "${CI_COMMIT_SHA:0:7}"' 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 push origin master
environment:
from_secret:
- GIT_USERNAME
- GIT_TOKEN
- git push origin master