ci: pin registry login username to gitea-admin
CI / Type-check & lint (push) Successful in 15s
CI / Build & push worker image (push) Failing after 7s
CI / Build & push API image (push) Failing after 8s

REGISTRY_TOKEN was created under the gitea-admin user, so the
docker/helm registry username must match. Using github.actor
would fail for any other workflow-triggering user.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-16 20:40:28 -04:00
parent f3d73c9160
commit 8fe637e0e2
5 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -77,7 +77,7 @@ jobs:
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
with:
registry: git.farh.net
username: ${{ github.actor }}
username: gitea-admin
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push worker image
@@ -111,7 +111,7 @@ jobs:
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
with:
registry: git.farh.net
username: ${{ github.actor }}
username: gitea-admin
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push API image
@@ -145,7 +145,7 @@ jobs:
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
with:
registry: git.farh.net
username: ${{ github.actor }}
username: gitea-admin
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Inspect worker image