Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade cosign to 1.3.1 and prepare for the gh action release #34

Merged
merged 1 commit into from
Nov 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ For available `cosign` releases, see https://github.com/sigstore/cosign/releases
Add the following entry to your Github workflow YAML file:

```yaml
uses: sigstore/cosign-installer@main
uses: sigstore/cosign-installer@v1.3.1
with:
cosign-release: 'v1.3.0' # optional
cosign-release: 'v1.3.1' # optional
```

Example using a pinned version:
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Install Cosign
uses: sigstore/cosign-installer@main
with:
cosign-release: 'v1.3.0'
cosign-release: 'v1.3.1'
- name: Check install!
run: cosign version
```
Expand Down
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
cosign-release:
description: 'Cosign release version to use in the actions.'
required: false
default: 'v1.3.0'
default: 'v1.3.1'
runs:
using: "composite"
steps:
Expand All @@ -20,8 +20,8 @@ runs:
mkdir -p $HOME/.cosign
pushd $HOME/.cosign

bootstrap_version='v1.3.0'
expected_bootstrap_version_digest='9604a5eb171748113f92a67495556007dde6f45804f0b38d3e55c3bc7e151774'
bootstrap_version='v1.3.1'
expected_bootstrap_version_digest='1227b270e5d7d21d09469253cce17b72a14f6b7c9036dfc09698c853b31e8fc8'
curl -L https://storage.googleapis.com/cosign-releases/${bootstrap_version}/cosign-linux-amd64 -o cosign
shaBootstrap=$(sha256sum cosign | cut -d' ' -f1);
if [[ $shaBootstrap != ${expected_bootstrap_version_digest} ]]; then exit 1; fi
Expand Down