fix(ci): use REGISTRY_TOKEN for Docker push auth
Use the org-level REGISTRY_TOKEN secret instead of gitea.token for authenticating to the Gitea Container Registry. The gitea.token does not have packages:write scope. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -84,7 +84,7 @@ jobs:
|
||||
with:
|
||||
registry: git.farh.net
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ gitea.token }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build and push API image
|
||||
uses: docker/build-push-action@v6
|
||||
|
||||
Reference in New Issue
Block a user