ci: switch back to REGISTRY_TOKEN PAT for registry auth
Even on Gitea 1.26 the auto-token still hits the registry with 401 in this environment. Use the gitea-admin PAT stored as REGISTRY_TOKEN. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -78,8 +78,8 @@ jobs:
|
||||
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
|
||||
with:
|
||||
registry: git.farh.net
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
username: gitea-admin
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Verify Docker image tag exists
|
||||
run: docker buildx imagetools inspect "git.farh.net/farhoodlabs/trebuchet:${{ steps.target.outputs.version }}"
|
||||
|
||||
Reference in New Issue
Block a user