Skip to content

Commit 5a292e1

Browse files
authored
Bump cosign to 3.0.5 (#220)
* Upgrade to newest cosign version * Also tweak README to mitigate issue #219: Do not promote the use of "cosign-release" argument Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent 351ea76 commit 5a292e1

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ This action currently supports GitHub-provided Linux, macOS and Windows runners
1313
Add the following entry to your Github workflow YAML file:
1414

1515
```yaml
16-
uses: sigstore/cosign-installer@v4.0.0
17-
with:
18-
cosign-release: 'v3.0.3' # optional
16+
uses: sigstore/cosign-installer@v4.1.0
1917
```
2018
21-
Example using a pinned version:
19+
Full example:
2220
2321
```yaml
2422
jobs:
@@ -30,14 +28,14 @@ jobs:
3028
name: Install Cosign
3129
steps:
3230
- name: Install Cosign
33-
uses: sigstore/cosign-installer@v4.0.0
34-
with:
35-
cosign-release: 'v3.0.3'
31+
uses: sigstore/cosign-installer@v4.1.0
3632
- name: Check install!
3733
run: cosign version
3834
```
3935
40-
Example using the default version:
36+
The used Cosign version only changes when cosign-installer is upgraded. If you need to select a specific Cosign version, use `cosign-release` but note that you are now responsible for maintaining the Cosign version (in addition to maintaining the cosign-installer version).
37+
38+
Example pinning Cosign version with `cosign-release`:
4139

4240
```yaml
4341
jobs:
@@ -49,7 +47,9 @@ jobs:
4947
name: Install Cosign
5048
steps:
5149
- name: Install Cosign
52-
uses: sigstore/cosign-installer@v4.0.0
50+
uses: sigstore/cosign-installer@v4.1.0
51+
with:
52+
cosign-release: 'v3.0.5'
5353
- name: Check install!
5454
run: cosign version
5555
```
@@ -73,7 +73,7 @@ jobs:
7373
go-version: '1.24'
7474
check-latest: true
7575
- name: Install Cosign
76-
uses: sigstore/cosign-installer@v4.0.0
76+
uses: sigstore/cosign-installer@v4.1.0
7777
with:
7878
cosign-release: main
7979
- name: Check install!
@@ -105,7 +105,7 @@ jobs:
105105
fetch-depth: 1
106106
107107
- name: Install Cosign
108-
uses: sigstore/cosign-installer@v4.0.0
108+
uses: sigstore/cosign-installer@v4.1.0
109109
110110
- name: Set up QEMU
111111
uses: docker/setup-qemu-action@v3.6.0

action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ runs:
9797
esac
9898
}
9999
100-
bootstrap_version='v3.0.3'
101-
bootstrap_linux_amd64_sha="052363a0e23e2e7ed53641351b8b420918e7e08f9c1d8a42a3dd3877a78a2e10"
102-
bootstrap_linux_arm_sha="8ec0385ec4d088cb26c40eacf0fd1c3f8b52d76fdd601cab9a371dcedc1a59fc"
103-
bootstrap_linux_arm64_sha="81398231362031e3c7afd6a7508c57049460cd7e02736f1ebe89a452102253e5"
104-
bootstrap_darwin_amd64_sha="6c75981e85e081a73f0b4087f58e0ad5fd4712c71b37fa0b6ad774c1f965bafa"
105-
bootstrap_darwin_arm64_sha="38349e45a8bb0d1ed3a7affb8bdd2e9d597cee08b6800c395a926b4d9adb84d2"
106-
bootstrap_windows_amd64_sha="2593655025b52b5b1c99e43464459b645a3acbe5d4a5a9f3a766e77beec5a441"
100+
bootstrap_version='v3.0.5'
101+
bootstrap_linux_amd64_sha="db15cc99e6e4837daabab023742aaddc3841ce57f193d11b7c3e06c8003642b2"
102+
bootstrap_linux_arm_sha="4866f388e87125f1f492231dbbb347bb73b601c810595b65b2ae09eae4c8a99d"
103+
bootstrap_linux_arm64_sha="d098f3168ae4b3aa70b4ca78947329b953272b487727d1722cb3cb098a1a20ab"
104+
bootstrap_darwin_amd64_sha="e032c44d3f7c247bbb2966b41239f88ffba002497a4516358d327ad5693c386f"
105+
bootstrap_darwin_arm64_sha="4888c898e2901521a6bd4cf4f0383c9465588a6a46ecd2465ad34faf13f09eb7"
106+
bootstrap_windows_amd64_sha="44e9e44202b67ddfaaf5ea1234f5a265417960c4ae98c5b57c35bc40ba9dd714"
107107
108108
cosign_executable_name=cosign
109109

0 commit comments

Comments
 (0)