diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 8502c1d..7ed9787 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -29,7 +29,7 @@ jobs: with: registry: ghcr.io username: ${{ github.actor }} - password: ${{ secrets.GHCR_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta @@ -50,7 +50,7 @@ jobs: context: . file: ./Dockerfile platforms: linux/amd64 - push: ${{ github.event_name }} + push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha