Skip to content

Commit 431cb39

Browse files
authored
fix: update cosign command and pin install (#53)
1 parent 2ab8ce6 commit 431cb39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
--disable-content-trust
184184
185185
# Sign container
186-
- uses: sigstore/cosign-installer@main
186+
- uses: sigstore/cosign-installer@v3.0.1
187187

188188
# Only needed when running `cosign sign` using a key
189189
- name: Write signing key to disk
@@ -203,7 +203,7 @@ jobs:
203203

204204
- name: Sign container image
205205
run: |
206-
cosign sign --key cosign.key ${{ steps.registry_case.outputs.lowercase }}/${{ steps.build_image.outputs.image }}@${TAGS}
206+
cosign sign -y --key cosign.key ${{ steps.registry_case.outputs.lowercase }}/${{ steps.build_image.outputs.image }}@${TAGS}
207207
env:
208208
TAGS: ${{ steps.push.outputs.digest }}
209209
COSIGN_EXPERIMENTAL: false

0 commit comments

Comments
 (0)