Update Gitea workflows to use REGISTRY_USER and REGISTRY_TOKEN for registry login, falling back to GITEA_TOKEN when secrets are unavailable.
This commit is contained in:
1 parent
b9203f74f4
commit
d58101287d
2 files changed
+14
-10
No files matched your search
@@ -185,8 +185,9 @@ corepack pnpm test
|
||||
Node runs the TypeScript sources directly. Gitea Actions checks every push
|
||||
to `develop` and `master` and builds the images `homepage-sandbox`,
|
||||
`homepage-spawner`, `homepage-backend` and `homepage-jobs`, tagged with the
|
||||
commit and the branch. It logs in to the registry with the automatic token
|
||||
of each run, so it needs no secrets.
|
||||
commit and the branch. It logs in to the registry with the secrets
|
||||
`REGISTRY_USER` and `REGISTRY_TOKEN` (a token with package write access)
|
||||
when they exist, and otherwise with the automatic token of the run.
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in new issue
Block a user