CI: log in to registry with REGISTRY_USERNAME/REGISTRY_TOKEN secrets
The automatic GITEA_TOKEN has no write:package scope, so docker login to git.rambossek.at failed with unauthorized.
This commit is contained in:
@@ -42,8 +42,8 @@ jobs:
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.rambossek.at
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user