diff --git a/.github/workflows/images_build.yml b/.github/workflows/images_build.yml index 9460fab958..8e25b53f0f 100644 --- a/.github/workflows/images_build.yml +++ b/.github/workflows/images_build.yml @@ -413,7 +413,7 @@ jobs: - name: Attest images if: ${{ env.AUTO_PUSH_IMAGES == 'true' }} id: attest - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@v2 with: subject-name: ${{ format('{0}/{1}/{2}{3}', env.DOCKER_REGISTRY, env.DOCKER_REPOSITORY, env.IMAGES_PREFIX, env.BASE_BUILD_NAME ) }} subject-digest: ${{ steps.docker_build.outputs.digest }} @@ -676,7 +676,7 @@ jobs: - name: Attest images if: ${{ env.AUTO_PUSH_IMAGES == 'true' }} id: attest - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@v2 with: subject-name: ${{ format('{0}/{1}/{2}{3}', env.DOCKER_REGISTRY, env.DOCKER_REPOSITORY, env.IMAGES_PREFIX, matrix.build ) }} subject-digest: ${{ steps.docker_build.outputs.digest }} @@ -1041,7 +1041,7 @@ jobs: - name: Attest images if: ${{ env.AUTO_PUSH_IMAGES == 'true' }} id: attest - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@v2 with: subject-name: ${{ format('{0}/{1}/{2}{3}', env.DOCKER_REGISTRY, env.DOCKER_REPOSITORY, env.IMAGES_PREFIX, matrix.build ) }} subject-digest: ${{ steps.docker_build.outputs.digest }}