ci: registry host and image path configurable via secrets with defaults
This commit is contained in:
1 parent
02cb6b1079
commit
a6f1fea261
2 files changed
+30
-12
No files matched your search
@@ -103,12 +103,16 @@ The Gitea workflow `.gitea/workflows/release.yaml` runs on tags `v*` or manually
|
||||
3. pushes it as OCI artifact to `registry.familie-berner.de/xigmanas/vmmngr:<version>`
|
||||
and `:latest` using `oras`
|
||||
|
||||
Required repository secrets:
|
||||
Repository secrets (all optional except the credentials):
|
||||
|
||||
| Secret | Purpose |
|
||||
|---|---|
|
||||
| `REGISTRY_USER` | registry account (needs write access to `xigmanas/vmmngr`) |
|
||||
| `REGISTRY_TOKEN` | password / access token for that account |
|
||||
| Secret | Default | Purpose |
|
||||
|---|---|---|
|
||||
| `REGISTRY` | `registry.familie-berner.de` | registry host |
|
||||
| `REGISTRY_REPO` | `xigmanas/vmmngr` | image path inside the registry |
|
||||
| `REGISTRY_USER` | — (required) | account with write access to the repository |
|
||||
| `REGISTRY_TOKEN` | — (required) | password / access token for that account |
|
||||
|
||||
Unset values fall back to the defaults, so only the two credentials must exist.
|
||||
|
||||
Tagging a release:
|
||||
|
||||
|
||||
Reference in new issue
Block a user