Add Gitea Actions image-build workflow #2
Reference in New Issue
Block a user
Delete Branch "feat/gitea-build-workflow"
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?
Distilled from the image-build workflows across the other projects on this Gitea instance, plus a few improvements none of them combine:
taginput (house convention — no builds from main).go vet/go build/go test -short(verified passing locally on this exact tree).gitea.home.hrajfrisbee.cz/kacerr/egress-proxies-operator:<tag>plus an immutablesha-<12>tag on every build.:latestmoves only on real tag pushes — a manual dispatch of an old ref can't clobber it.GIT_COMMITbuild arg wired to the Dockerfile sointernal/version.Commitand the OCI revision label get the real commit.concurrencygroup cancels superseded runs of the same ref.Also replaces the CLAUDE.md CI TODO with a CI/CD subsection, and includes the plan + execution notes in
docs/.Prerequisite before first run: create the
REGISTRY_TOKENsecret in this repo (Settings → Actions → Secrets) — a Gitea PAT withwrite:package, same as the other projects.Suggested verification after merge: manual dispatch with tag
manual-test→ expectmanual-test+sha-…in Packages and:latestuntouched; then a realv0.1.0tag → expect all three tags.