From 7042829f7bc122543c17b028517583b1b56b8bfe Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Mon, 16 Jun 2025 21:44:42 +0300 Subject: [PATCH] Try to push to my-apps repo --- .woodpecker.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 692378c..6c0d266 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -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 \ No newline at end of file + - git push origin master \ No newline at end of file