diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml index c755da8..b9803cd 100644 --- a/.github/workflows/ghcr.yml +++ b/.github/workflows/ghcr.yml @@ -64,7 +64,7 @@ jobs: # This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see [Using artifact attestations to establish provenance for builds](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). - name: Generate artifact attestation - uses: actions/attest-build-provenance@v3 + uses: actions/attest-build-provenance@v4 with: subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}} subject-digest: ${{ steps.push.outputs.digest }} diff --git a/.github/workflows/release-docker-ghcr.yml b/.github/workflows/release-docker-ghcr.yml index 697741a..f29d47a 100644 --- a/.github/workflows/release-docker-ghcr.yml +++ b/.github/workflows/release-docker-ghcr.yml @@ -78,7 +78,7 @@ jobs: if-no-files-found: error retention-days: 1 - name: Generate artifact attestation - uses: actions/attest-build-provenance@v3 + uses: actions/attest-build-provenance@v4 with: subject-name: ${{ env.REGISTRY_IMAGE }} subject-digest: ${{ steps.push.outputs.digest }}