Skip to content

Commit 95d3c93

Browse files
authored
Generates artifact attestation for the image
1 parent c79dfa4 commit 95d3c93

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build_image.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
labels: ${{ steps.meta.outputs.labels }}
5252

5353
# Generates artifact attestation for the image
54-
# - name: Generate artifact attestation
55-
# uses: actions/attest-build-provenance@v1
56-
# with:
57-
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
58-
# subject-digest: ${{ steps.push.outputs.digest }}
59-
# push-to-registry: true
54+
- name: Generate artifact attestation
55+
uses: actions/attest-build-provenance@v1
56+
with:
57+
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
58+
subject-digest: ${{ steps.push.outputs.digest }}
59+
push-to-registry: true
6060

0 commit comments

Comments
 (0)