diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml index 26508b3..7787a69 100644 --- a/.github/workflows/docker_publish.yml +++ b/.github/workflows/docker_publish.yml @@ -22,6 +22,9 @@ jobs: with: ref: ${{ inputs.release }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to GitHub Container Registry uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: @@ -44,14 +47,15 @@ jobs: with: context: . push: true + # provenance: mode=max + labels: ${{ steps.meta.outputs.labels }} tags: | ghcr.io/${{ github.repository }}:latest ghcr.io/${{ github.repository }}:${{ inputs.release }} - labels: ${{ steps.meta.outputs.labels }} - name: Generate artifact attestation uses: actions/attest-build-provenance@v1 with: - subject-name: ghcr.io/${{ github.repository }}:${{ inputs.release }} + subject-name: ghcr.io/${{ github.repository }} subject-digest: ${{ steps.push.outputs.digest }} push-to-registry: true