diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 19ea1b33f..2783ea35c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -318,7 +318,7 @@ jobs: sbom: true - name: Attest GitHub - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@v2 id: attest with: subject-name: ghcr.io/${{ github.repository_owner }}/knet diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 0bd4c8e0c..4fe2a27ff 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -92,7 +92,7 @@ jobs: sbom: true - name: Attest Docker Hub - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@v2 id: attest1 with: subject-name: index.docker.io/masesgroup/knet @@ -100,7 +100,7 @@ jobs: push-to-registry: true - name: Attest GitHub - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@v2 id: attest2 with: subject-name: ghcr.io/${{ github.repository_owner }}/knet