ci: use auto-provided GITEA_TOKEN for registry login
Some checks failed
Build & Push Docker Image / build-and-push (push) Failing after 12s
Some checks failed
Build & Push Docker Image / build-and-push (push) Failing after 12s
Avoids needing to set custom REGISTRY_USERNAME/REGISTRY_TOKEN secrets. The built-in secrets.GITEA_TOKEN has write:package access for pushing to the Gitea container registry. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -30,8 +30,8 @@ jobs:
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
- name: Extract metadata (tags, labels)
|
||||
id: meta
|
||||
|
||||
Reference in New Issue
Block a user