ci: build on GitHub via the mirror, switchable with BUILD_ON #16

Merged
jcoffey-dev merged 1 commits from ci/build-on-github into main 2026-09-30 06:53:06 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev d9fd02256a ci: build on GitHub via the mirror, switchable with BUILD_ON
ci / github (pull_request) Skipped
ci / version (pull_request) Skipped
ci / node (pull_request) Successful in 2m56s
ci / publish (pull_request) Skipped
ci / docker-build (pull_request) Successful in 1m20s
Gitea stays the source of truth and push-mirrors every commit and tag to
GitHub. With the organization variable BUILD_ON=github, GitHub's ci.yml runs
the tests, the Docker build check and, on tags, the multi-arch image publish
on native amd64 and arm64 runners, pushing to the Gitea registry and posting a
commit status back. Gitea's build jobs skip, and a new `github` job waits for
that status so the Gitea run still passes or fails with the real result.

With BUILD_ON unset nothing changes: GitHub's jobs skip and Gitea builds as
before, which is also the fallback if GitHub is unavailable.

The GitHub-era release, publish and cleanup workflows are removed -- the
weekly release is cut on Gitea and images no longer go to GHCR -- and so is
dependabot.yml, whose pull request branches every mirror sync would delete.
2026-09-29 23:04:33 -07:00