File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,21 @@ jobs:
102102
103103 - uses : anchore/sbom-action@v0
104104
105+ - name : Install cosign
106+ uses : sigstore/cosign-installer@main
107+ with :
108+ cosign-release : ' v1.13.0'
109+
110+ - name : Sign release image
111+ run : |
112+ cosign sign --key env://COSIGN_PRIVATE_KEY ghcr.io/open-feature/open-feature-operator:${{ needs.release-please.outputs.release_tag_name }}
113+ # Displays the public key to share.
114+ cosign public-key --key env://COSIGN_PRIVATE_KEY > ./cosign.pub
115+ env :
116+ COSIGN_PRIVATE_KEY : ${{secrets.COSIGN_PRIVATE_KEY}}
117+ COSIGN_PASSWORD : ${{secrets.COSIGN_PASSWORD}}
118+ if : ${{ env.DRY_RUN != 'true' }}
119+
105120 - name : Release
106121 uses : softprops/action-gh-release@v1
107122 with :
You can’t perform that action at this time.
0 commit comments