Skip to content

Commit

Permalink
update action to use cosign release v1.7.1 (#69)
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <[email protected]>
  • Loading branch information
cpanato authored Apr 6, 2022
1 parent 9f7b96f commit d6a3abf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 25 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,19 +176,18 @@ jobs:
fi
shell: bash

# TODO: uncomment when we remove the replace int he cosign go.mod
# test_cosign_with_go_install:
# runs-on: ubuntu-latest
# permissions: {}
# name: Try to install cosign with go
# steps:
# - uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
# - uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
# with:
# go-version: '1.17.x'
# - name: Install Cosign
# uses: ./
# with:
# cosign-release: 'main'
# - name: Check install!
# run: cosign version
test_cosign_with_go_install:
runs-on: ubuntu-latest
permissions: {}
name: Try to install cosign with go
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
with:
go-version: '1.17.x'
- name: Install Cosign
uses: ./
with:
cosign-release: 'main'
- name: Check install!
run: cosign version
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Add the following entry to your Github workflow YAML file:
```yaml
uses: sigstore/cosign-installer@main
with:
cosign-release: 'v1.6.0' # optional
cosign-release: 'v1.7.1' # optional
```
Example using a pinned version:
Expand Down
16 changes: 8 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
cosign-release:
description: 'cosign release version to be installed'
required: false
default: 'v1.6.0'
default: 'v1.7.1'
install-dir:
description: 'Where to install the cosign binary'
required: false
Expand Down Expand Up @@ -61,13 +61,13 @@ runs:
esac
}
bootstrap_version='v1.6.0'
bootstrap_linux_amd64_sha='b62ac8c1ab1cdb072d442d2f3db7d7ffe977566a6170cd03dd48e4583dad3203'
bootstrap_linux_arm_sha='cb6fbc29aaba89630ba098168c220c99923f7bd3821253b06fa77288748d751f'
bootstrap_linux_arm64_sha='5f1c8bb2b30c75fb1c72c266b08d9cfc517ddb8b632e35627fd63aaf09e8f1bd'
bootstrap_darwin_amd64_sha='fcff17a94fb8a5098c9b9b623e2e190cc4d3c47c4f5e8dbf75b72a56a874b219'
bootstrap_darwin_arm64_sha='e59fb49a3cc03adbb81dbd2f5cd6206fe09479cdbb7426cdd1b22aaf9145bbbc'
bootstrap_windows_amd64_sha='1cd5be2d3a1b99aa0697e6746d2a9821f24ab380ce099c7e9eb988318853fb10'
bootstrap_version='v1.7.1'
bootstrap_linux_amd64_sha='2ed460ccc1ba44f10ef98c19cafddad5b5199659c8a35e4b9b2040012ae1b235'
bootstrap_linux_arm_sha='dc9d6f2776933cf1913eaae53adad14ac448ac0a09690c497b1034a935222f65'
bootstrap_linux_arm64_sha='1caf266cf27825ea10081363746e034b6f24da0e38475d4ddad7162ecbd2069d'
bootstrap_darwin_amd64_sha='f9b598a5c7f571f1ccfd168aea90c1022dc53f4ee9997f6d58aa9f3b0db04a7f'
bootstrap_darwin_arm64_sha='b2427998b43c3db3dd773b127f4fc17e3c55353d0c6ac4a4c3fdff9309ce912f'
bootstrap_windows_amd64_sha='f1d968675fa52bae5d7accd67ef4a867cb7aafdf8a0fa236a79b5b745a163170'
trap "popd >/dev/null" EXIT
Expand Down

0 comments on commit d6a3abf

Please sign in to comment.