This commit is contained in:
Simon Ding
2024-07-31 23:11:55 +08:00
parent b765f16ea6
commit c256d46d5c

View File

@@ -51,9 +51,9 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
- name: Generate artifact attestation # - name: Generate artifact attestation
uses: actions/attest-build-provenance@v1 # uses: actions/attest-build-provenance@v1
with: # with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}} # subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }} # subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true # push-to-registry: true