Skip to content

Commit 4d14d7f

Browse files
authored
feat: update to v3.0.3 (#212)
Signed-off-by: Carlos Alexandro Becker <[email protected]>
1 parent f148005 commit 4d14d7f

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Add the following entry to your Github workflow YAML file:
1515
```yaml
1616
uses: sigstore/[email protected]
1717
with:
18-
cosign-release: 'v3.0.2' # optional
18+
cosign-release: 'v3.0.3' # optional
1919
```
2020
2121
Example using a pinned version:
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install Cosign
3333
uses: sigstore/[email protected]
3434
with:
35-
cosign-release: 'v3.0.2'
35+
cosign-release: 'v3.0.3'
3636
- name: Check install!
3737
run: cosign version
3838
```

action.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
cosign-release:
1111
description: 'cosign release version to be installed'
1212
required: false
13-
default: 'v3.0.2'
13+
default: 'v3.0.3'
1414
install-dir:
1515
description: 'Where to install the cosign binary'
1616
required: false
@@ -97,13 +97,14 @@ runs:
9797
esac
9898
}
9999
100-
bootstrap_version='v3.0.2'
101-
bootstrap_linux_amd64_sha='46dbdcb5467a3dfec2526923d0b3365e40c8d9dc00ec23d5aca3437449e8cbfd'
102-
bootstrap_linux_arm_sha='067df248315ee0c4af1cedb1cce65ad826f784be11ef88afd8d36e87c07162b6'
103-
bootstrap_linux_arm64_sha='17fd784737ca54d7d8a343c82da6c5d6dbdee971e66644d923d1b057fb97d7ed'
104-
bootstrap_darwin_amd64_sha='0fc2b6f16b900abdfda3153b11fc435a8cbe3830e8e820fe8ad5fe4149a5b472'
105-
bootstrap_darwin_arm64_sha='3823b044de184da21e300bc5e20dd29d3fa9243af3ba70c4a5da1712f3385d46'
106-
bootstrap_windows_amd64_sha='7a137280d8686665ceb4d8565df2a0ac63f28031e014cdcae5d56891a6c8a400'
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"
107+
107108
cosign_executable_name=cosign
108109
109110
trap "popd >/dev/null" EXIT
@@ -236,8 +237,8 @@ runs:
236237
log_info "Using bootstrap cosign to verify keyless signature of desired cosign version"
237238
"./${cosign_executable_name}" verify-blob --certificate-identity=keyless@projectsigstore.iam.gserviceaccount.com --certificate-oidc-issuer=https://accounts.google.com --bundle "${keyless_signature_file}" "cosign_${input_cosign_release}"
238239
239-
if is_version_ge "3.0.2" "$version_num"; then
240-
# we're trying to get something greater than or equal to v3.0.2
240+
if is_version_ge "3.0.3" "$version_num"; then
241+
# we're trying to get something greater than or equal to v3.0.3
241242
kms_signature_file=${desired_cosign_filename}-kms.sigstore.json
242243
log_info "Downloading KMS verification bundle for platform-specific '${input_cosign_release}' of cosign...\n https://github.com/sigstore/cosign/releases/download/${input_cosign_release}/${kms_signature_file}"
243244
$SUDO curl -fsSLO "https://github.com/sigstore/cosign/releases/download/${input_cosign_release}/${kms_signature_file}"

0 commit comments

Comments
 (0)