We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc22ae5 commit 241dd60Copy full SHA for 241dd60
1 file changed
.github/workflows/release.yml
@@ -44,4 +44,11 @@ jobs:
44
with:
45
subject-name: ${{ env.REGISTRY }}/${{ env.USER }}/${{ env.IMAGE_NAME }}
46
subject-digest: '${{ steps.docker_build.outputs.digest }}'
47
- push-to-registry: true
+ push-to-registry: true
48
+
49
+ - name: Verify
50
+ env:
51
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
+ run: |
53
+ echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
54
+ gh attestation verify oci://ghcr.io/${{ env.USER }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.release_tag }} -R ${{ github.repository }}
0 commit comments