ci: use github.actor + github.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
github.actor and github.token are the correct Gitea Actions context variables (gitea.* context doesn't exist in act_runner). 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: ${{ gitea.actor }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ github.token }}
|
||||
|
||||
- name: Extract metadata (tags, labels)
|
||||
id: meta
|
||||
|
||||
Reference in New Issue
Block a user