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
+2 -2
View File
@@ -59,7 +59,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
@@ -91,7 +91,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
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
- name: Log in to Gitea OCI registry
run: |
echo "${{ secrets.REGISTRY_TOKEN }}" | helm registry login git.farh.net \
--username "${{ github.actor }}" \
--username gitea-admin \
--password-stdin
- name: Push chart to Gitea OCI registry
+3 -3
View File
@@ -62,7 +62,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
@@ -93,7 +93,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
@@ -125,7 +125,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
+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
+1 -1
View File
@@ -78,7 +78,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: Verify Docker image tag exists