diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index ea888ad..d030700 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -13,10 +13,10 @@ jobs: - name: Check out the repo uses: actions/checkout@v2 - name: Push to GitHub Packages - uses: docker/build-push-action@v1 + uses: docker/build-push-action@v2 with: - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ github.repository_owner }} + password: ${{ secrets.PAT }} registry: ghcr.io repository: camptocamp/cups_exporter tag_with_ref: true