File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 7171 with :
7272 sbom : sbom-image-latest.json
7373 subject-name : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
74- subject-digest : ${{ steps.build-push-latest.outputs.digest }}
74+ subject-digest : ${{ steps.build-push-latest.outputs.digest }}
75+ - name : Create or Update GitHub Release
76+ uses : softprops/action-gh-release@v1
77+ with :
78+ # Set the tag name and release name
79+ tag_name : ${{ github.ref }}
80+ release_name : Release ${{ github.ref }}
81+ # Add information about the Docker image to the release notes
82+ body : |
83+ Docker Image Tag: ${{ steps.meta.outputs.tags }}
84+ ```
85+ docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }}
86+ ```
87+ Verify the contents of the image:
88+ ```
89+ gh attestation verify oci://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }} --owner ${{ github.actor }}
90+ ```
91+ # Set the release to draft if you want to manually review it before publishing
92+ # draft: true
93+ env :
94+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments