From 50d8f81c630116b6d247c6fbdf57db1680c95c7e Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Sat, 13 Jul 2024 11:48:27 +0100 Subject: [PATCH] Fix attestation --- .github/workflows/docker_publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml index 8ea2e0f..087a828 100644 --- a/.github/workflows/docker_publish.yml +++ b/.github/workflows/docker_publish.yml @@ -47,15 +47,15 @@ jobs: with: context: . push: true - provenance: mode=max + # provenance: mode=max labels: ${{ steps.meta.outputs.labels }} tags: | ghcr.io/${{ github.repository }}:latest ghcr.io/${{ github.repository }}:${{ inputs.release }} - # - name: Generate artifact attestation - # uses: actions/attest-build-provenance@v1 - # with: - # subject-name: ghcr.io/${{ github.repository }}:${{ inputs.release }} - # subject-digest: ${{ steps.push.outputs.digest }} - # push-to-registry: true + - name: Generate artifact attestation + uses: actions/attest-build-provenance@v1 + with: + subject-name: ghcr.io/${{ github.repository }} + subject-digest: ${{ steps.push.outputs.digest }} + push-to-registry: true