From 61e01e6034a85492eaf4f5fbf1d4462d426cf49e Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 19 Jul 2026 21:26:47 +0800 Subject: [PATCH] ci: tolerate git push failure --- .gitea/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 22eb06e..9a02202 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -51,8 +51,9 @@ jobs: git config user.name "gitea-ci" git add deploy/helm/values.yaml git commit -m "ci: update image tag to ${SHORT}" || echo "nothing to commit" - git push origin main - echo "✓ Pushed tag ${SHORT}" + # Try push but don't fail if Gitea is unreachable + git push origin main || echo "⚠ push failed - Gitea may be unreachable from cluster" + echo "✓ Done with tag ${SHORT}" env: GITHUB_SHA: ${{ github.sha }} GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}