From c49b6e3bb2f1f6a864cd4e32fc066cef9ad4ef52 Mon Sep 17 00:00:00 2001 From: lconsuegra Date: Thu, 7 Jan 2021 16:23:17 +0100 Subject: [PATCH] adapt workflow coz ghcr.io needs a PAT --- .github/workflows/docker-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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