fix(ci): resolve image tag via Gitea API instead of artifact #42
Reference in New Issue
Block a user
Delete Branch "fix/gitops-tag-via-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
upload-artifact@v4/download-artifact@v4are not supported on Gitea (GHES error). v3 has no cross-workflow artifact download, so the artifact approach is a dead end.Fix
build.yaml: remove the artifact upload step (back to its original state — no changes to the build logic).gitops-update.yaml: onworkflow_runtrigger, call the Gitea API to find the tag whosecommit.shamatchesgithub.event.workflow_run.head_sha:GITEA_TOKENalready present in the job. Addjqto the apt install step.