We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df77407 commit 4ebb892Copy full SHA for 4ebb892
.github/workflows/ci.yml
@@ -170,3 +170,20 @@ jobs:
170
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
171
subject-digest: ${{ steps.build-and-push.outputs.digest }}
172
push-to-registry: false
173
+
174
+ - name: Install cosign
175
+ uses: sigstore/cosign-installer@v3
176
177
+ - name: Check cosign installation
178
+ run: cosign version
179
180
+ - name: Sign the images with GitHub OIDC Token
181
+ env:
182
+ DIGEST: ${{ steps.build-and-push.outputs.digest }}
183
+ TAGS: ${{ steps.meta.outputs.tags }}
184
+ run: |
185
+ images=""
186
+ for tag in ${TAGS}; do
187
+ images+="${tag}@${DIGEST} "
188
+ done
189
+ cosign sign --yes ${images}
0 commit comments