Skip to content

Commit 23b8c25

Browse files
authored
chore: update cosign version (#1495)
**Description of the change** - Update `cosign-installer` action to `v3.4.0` - Use `cosign v2.2.3` in CI **Benefits** The version we are using, `v2.0.1`, fails to verify the distroless images: ``` Error: getting Rekor public keys: updating local metadata and targets: error updating to TUF remote mirror: invalid key ``` Signed-off-by: Alejandro Moreno <amorenoc@vmware.com>
1 parent 7227790 commit 23b8c25

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ jobs:
107107
uses: actions/checkout@v3.1.0
108108

109109
- name: Install Cosign
110-
uses: sigstore/cosign-installer@v3.0.2
110+
uses: sigstore/cosign-installer@v3.4.0
111+
with:
112+
cosign-release: v2.2.3
111113

112114
- name: Distroless verify
113115
run: |

.github/workflows/publish-release.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ jobs:
6565
6666
# Setup Cosign
6767
- name: Install Cosign
68-
uses: sigstore/cosign-installer@v3.0.2
68+
uses: sigstore/cosign-installer@v3.4.0
69+
with:
70+
cosign-release: v2.2.3
71+
6972
if: env.RELEASE == 1
7073
- name: Write Cosign key
7174
if: env.RELEASE == 1

0 commit comments

Comments
 (0)