fix(ci): resolve image tag via Gitea API instead of artifact
All checks were successful
Deploy to K8s / deploy (push) Successful in 9s

upload/download-artifact@v4 is not supported on Gitea (GHES). Replace
with a direct Gitea API call in gitops-update: look up the tag name
whose commit SHA matches workflow_run.head_sha. Reverts the artifact
upload from build.yaml; no changes to build.yaml logic.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 19:59:24 +02:00
parent c00111cff1
commit 6d7dbfa624
2 changed files with 10 additions and 19 deletions

View File

@@ -63,11 +63,3 @@ jobs:
--build-arg BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) \
-t $IMAGE go/
docker push $IMAGE
echo "$IMAGE" > /tmp/go-image-tag.txt
- name: Upload Go image tag for gitops workflow
uses: actions/upload-artifact@v4
with:
name: go-image-tag
path: /tmp/go-image-tag.txt
retention-days: 1