Support internal registry publishing in CI
CI / test (push) Successful in 29s
CI / publish (push) Failing after 20s

This commit is contained in:
Joe Julian
2026-03-28 16:45:13 -07:00
parent b2f0b887b8
commit a1147dd6c1
2 changed files with 29 additions and 8 deletions
+7 -1
View File
@@ -57,7 +57,13 @@ It runs on pushes to `main` and pull requests, and currently:
- runs `go build .`
- builds and pushes `:main` and `:sha-<commit>` container tags on pushes to `main`
The workflow expects a runner with the `ubuntu-latest` label and a repository Actions secret named `REGISTRY_PASSWORD` that can push to the Gitea container registry. The cluster runner deployed for this repo provides the required runner label.
The workflow expects a runner with the `ubuntu-latest` label, a repository Actions secret named `REGISTRY_PASSWORD`, and these repository variables:
- `REGISTRY_HOST` for the canonical registry hostname
- optional `REGISTRY_PUSH_HOST` when runners should push to a different internal endpoint
- optional `REGISTRY_INSECURE=true` when that push endpoint is plain HTTP or has a certificate the runner should not verify
The cluster runner deployed for this repo provides the required runner label.
## Container