Authenticate to ghcr.io as github.repository_owner

This commit is contained in:
Mazo 2021-06-20 18:51:52 +01:00
parent 3ab5b12fbe
commit 667e76a5ad

View file

@ -31,7 +31,7 @@ jobs:
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Build container image - name: Build container image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2