diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 40dea6c..ff1bb45 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -64,7 +64,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_SBOM_PATH: ./sbom.spdx.json # attest archives - - uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1.4.4 + - uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0 with: subject-path: "dist/*.tar.gz" # parse artifacts to the format required for image attestation @@ -87,17 +87,17 @@ jobs: env: ARTIFACTS: ${{steps.goreleaser.outputs.artifacts}} # attest images - - uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1.4.4 + - uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0 with: subject-digest: ${{steps.image_metadata_ssh_portal.outputs.digest}} subject-name: ${{steps.image_metadata_ssh_portal.outputs.name}} push-to-registry: true - - uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1.4.4 + - uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0 with: subject-digest: ${{steps.image_metadata_ssh_portal_api.outputs.digest}} subject-name: ${{steps.image_metadata_ssh_portal_api.outputs.name}} push-to-registry: true - - uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1.4.4 + - uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0 with: subject-digest: ${{steps.image_metadata_ssh_token.outputs.digest}} subject-name: ${{steps.image_metadata_ssh_token.outputs.name}}