Skip to content

Commit 1dcd520

Browse files
committed
Add attestation to Docker
1 parent 145c2cc commit 1dcd520

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/docker.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@ jobs:
4949
tags: ${{ steps.meta.outputs.tags }}
5050
labels: ${{ steps.meta.outputs.labels }}
5151

52-
# This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see "[AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)."
53-
# - name: Generate artifact attestation
54-
# uses: actions/attest-build-provenance@v1
55-
# with:
56-
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
57-
# subject-digest: ${{ steps.push.outputs.digest }}
58-
# push-to-registry: true
52+
- name: Generate artifact attestation
53+
uses: actions/attest-build-provenance@v1
54+
with:
55+
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
56+
subject-digest: ${{ steps.push.outputs.digest }}
57+
push-to-registry: true

0 commit comments

Comments
 (0)