Compare commits

...
2 Commits
Author SHA1 Message Date
Overlord d58101287d Update Gitea workflows to use REGISTRY_USER and REGISTRY_TOKEN for registry login, falling back to GITEA_TOKEN when secrets are unavailable.
images / check (push) Successful in 29s
images / sandbox (push) Successful in 35s
images / spawner (push) Successful in 59s
images / backend (push) Successful in 22s
images / jobs (push) Successful in 12s
2026-10-13 16:59:39 +02:00
Overlord b9203f74f4 Update Gitea workflows to use GITEA_TOKEN and gitea.actor for registry login, removing the need for manual secrets.
images / check (push) Successful in 17s
images / sandbox (push) Failing after 5s
images / spawner (push) Failing after 5s
images / backend (push) Failing after 5s
images / jobs (push) Failing after 5s
2026-10-13 16:53:51 +02:00
2 changed files with 14 additions and 10 deletions

No files matched your search

+11 -8
View File
@@ -1,3 +1,6 @@
# Builds the images and pushes them to the registry of the organization.
# Uses the secrets REGISTRY_USER and REGISTRY_TOKEN (a token with package
# write access) when they exist, else the automatic token of the run.
name: images name: images
on: on:
@@ -27,8 +30,8 @@ jobs:
- name: Log in to the registry - name: Log in to the registry
run: > run: >
echo "${{ secrets.REGISTRY_TOKEN }}" echo "${{ secrets.REGISTRY_TOKEN || secrets.GITEA_TOKEN }}"
| docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin | docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER || gitea.actor }}" --password-stdin
- name: Build and push - name: Build and push
run: | run: |
@@ -44,8 +47,8 @@ jobs:
- name: Log in to the registry - name: Log in to the registry
run: > run: >
echo "${{ secrets.REGISTRY_TOKEN }}" echo "${{ secrets.REGISTRY_TOKEN || secrets.GITEA_TOKEN }}"
| docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin | docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER || gitea.actor }}" --password-stdin
- name: Build and push - name: Build and push
run: | run: |
@@ -61,8 +64,8 @@ jobs:
- name: Log in to the registry - name: Log in to the registry
run: > run: >
echo "${{ secrets.REGISTRY_TOKEN }}" echo "${{ secrets.REGISTRY_TOKEN || secrets.GITEA_TOKEN }}"
| docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin | docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER || gitea.actor }}" --password-stdin
- name: Build and push - name: Build and push
run: | run: |
@@ -78,8 +81,8 @@ jobs:
- name: Log in to the registry - name: Log in to the registry
run: > run: >
echo "${{ secrets.REGISTRY_TOKEN }}" echo "${{ secrets.REGISTRY_TOKEN || secrets.GITEA_TOKEN }}"
| docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin | docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER || gitea.actor }}" --password-stdin
- name: Build and push - name: Build and push
run: | run: |
+3 -2
View File
@@ -185,8 +185,9 @@ corepack pnpm test
Node runs the TypeScript sources directly. Gitea Actions checks every push Node runs the TypeScript sources directly. Gitea Actions checks every push
to `develop` and `master` and builds the images `homepage-sandbox`, to `develop` and `master` and builds the images `homepage-sandbox`,
`homepage-spawner`, `homepage-backend` and `homepage-jobs`, tagged with the `homepage-spawner`, `homepage-backend` and `homepage-jobs`, tagged with the
commit and the branch. The workflow needs the secrets `REGISTRY_USER` and commit and the branch. It logs in to the registry with the secrets
`REGISTRY_TOKEN`. `REGISTRY_USER` and `REGISTRY_TOKEN` (a token with package write access)
when they exist, and otherwise with the automatic token of the run.
## License ## License