Test attestation

This commit is contained in:
Alexey Pustovalov 2024-05-30 03:35:16 +09:00
parent f07b71c731
commit edc1424903

View File

@ -392,7 +392,7 @@ jobs:
uses: actions/attest-build-provenance@v1
id: attest
with:
subject-name: ${{ fromJSON(steps.meta.outputs.json).tags[0] }}
subject-name: ${{ format('index.docker.io/{0}/{1}{2}', env.DOCKER_REPOSITORY, env.IMAGES_PREFIX, env.BASE_BUILD_NAME ) }}
subject-digest: ${{ steps.docker_build.outputs.digest }}
push-to-registry: true