File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 3838 - name : Checkout code
3939 uses : actions/checkout@v4
4040
41+ - name : Install cosign
42+ if : github.event_name != 'pull_request'
43+ uses : sigstore/cosign-installer@v3
44+ with :
45+ cosign-release : ' v25.33'
46+
4147 - name : Set up Docker Buildx
4248 uses : docker/setup-buildx-action@v3
4349
8187 push : ${{ github.event_name == 'push' }}
8288 platforms : ${{ github.event_name == 'push' && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
8389 tags : ghcr.io/${{ github.repository }}/plugins/${{ matrix.image }}:${{ env.TAG_NAME }}
90+
91+ - name : Sign image
92+ if : ${{ github.event_name != 'pull_request' }}
93+ env :
94+ DIGEST : ${{ steps.build-and-push.outputs.digest }}
95+ run : cosign sign --yes ghcr.io/${{ github.repository }}/plugins/${{ matrix.image }}:${{ env.TAG_NAME }}@${DIGEST}
You can’t perform that action at this time.
0 commit comments