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

This commit is contained in:
Overlord committed 2026-10-13 16:53:51 +02:00
1 parent 3aecb3a631
commit b9203f74f4
2 files changed
+10 -10

No files matched your search

+8 -8
View File
@@ -27,8 +27,8 @@ jobs:
- name: Log in to the registry - name: Log in to the registry
run: > run: >
echo "${{ secrets.REGISTRY_TOKEN }}" echo "${{ secrets.GITEA_TOKEN }}"
| docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin | docker login "${REGISTRY%%/*}" -u "${{ gitea.actor }}" --password-stdin
- name: Build and push - name: Build and push
run: | run: |
@@ -44,8 +44,8 @@ jobs:
- name: Log in to the registry - name: Log in to the registry
run: > run: >
echo "${{ secrets.REGISTRY_TOKEN }}" echo "${{ secrets.GITEA_TOKEN }}"
| docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin | docker login "${REGISTRY%%/*}" -u "${{ gitea.actor }}" --password-stdin
- name: Build and push - name: Build and push
run: | run: |
@@ -61,8 +61,8 @@ jobs:
- name: Log in to the registry - name: Log in to the registry
run: > run: >
echo "${{ secrets.REGISTRY_TOKEN }}" echo "${{ secrets.GITEA_TOKEN }}"
| docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin | docker login "${REGISTRY%%/*}" -u "${{ gitea.actor }}" --password-stdin
- name: Build and push - name: Build and push
run: | run: |
@@ -78,8 +78,8 @@ jobs:
- name: Log in to the registry - name: Log in to the registry
run: > run: >
echo "${{ secrets.REGISTRY_TOKEN }}" echo "${{ secrets.GITEA_TOKEN }}"
| docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin | docker login "${REGISTRY%%/*}" -u "${{ gitea.actor }}" --password-stdin
- name: Build and push - name: Build and push
run: | run: |
+2 -2
View File
@@ -185,8 +185,8 @@ 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 automatic token
`REGISTRY_TOKEN`. of each run, so it needs no secrets.
## License ## License