Support internal registry publishing in CI
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user