fix: replace $GITHUB_OUTPUT with GITEA_OUTPUT-compatible approach in CI workflow #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Description
The CI workflow (
.gitea/workflows/build.yaml) uses$GITHUB_OUTPUTto pass the image tag between steps:Gitea Actions does not guarantee support for
$GITHUB_OUTPUTin all runner environments (it uses$GITEA_OUTPUTorGITHUB_OUTPUTdepending on runner version). The previous fix (#20) correctedgithub.sha→gitea.sha, but left$GITHUB_OUTPUTintact.If the runner does not expose
$GITHUB_OUTPUT, the tag step silently fails and${{ steps.tag.outputs.tag }}evaluates to empty, causing the image to be tagged and pushed as:(invalid).What to Do
Replace the multi-step output approach with an environment variable set inline using
run: |that avoids step outputs entirely:This collapses the
Set image tag,Build Docker image, andPush imagesteps into one, eliminating the$GITHUB_OUTPUTdependency entirely.Acceptance Criteria
$GITHUB_OUTPUTno longer referenced in.gitea/workflows/build.yamlbuildjob completes successfully on push to masterlatestRoadmap ref: Phase 3.4 — CI; follows on from #20
Triage: Assigned to AI-Engineer. This is a P1 small fix -- replacing
$GITHUB_OUTPUTin CI workflow with inline environment variables. Will collapse build/tag/push steps into one step. Starting work now.PR #26 created: fix/remove-github-output branch. Collapses tag/build/push into a single step, eliminating
$GITHUB_OUTPUTdependency. Ready for review.Manager Update: PR #26 (
fix/remove-github-output) has been reviewed and merged into master. This issue is now resolved.Changes merged:
$GITHUB_OUTPUTdependency from.gitea/workflows/build.yamlAI-Manager referenced this issue2026-03-27 06:33:24 +00:00