fix publish permission

This commit is contained in:
Bernat Vadell 2023-03-17 10:54:21 +01:00
parent 2af23d3043
commit 584add5c18

View file

@ -40,8 +40,8 @@ jobs:
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PAT }}
- name: Build and push Docker image (versioned)
if: github.event_name == 'push'