fix(ci): rebase before kustomization push to handle concurrent runs

Two runs for the same SHA racing to push the kustomization update
caused the second to fail with "failed to push some refs".

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
funman300
2026-05-13 16:36:42 -07:00
parent 2b33feafc9
commit 228ebbad8a
+1
View File
@@ -69,4 +69,5 @@ jobs:
git config user.name "Gitea CI" git config user.name "Gitea CI"
git add deploy/kustomization.yaml git add deploy/kustomization.yaml
git commit -m "chore(deploy): bump image to ${{ steps.meta.outputs.sha }} [skip ci]" || true git commit -m "chore(deploy): bump image to ${{ steps.meta.outputs.sha }} [skip ci]" || true
git pull --rebase origin master
git push git push