Skip to content

Commit

Permalink
Update action to install cosign 1.10.0 by default (#86)
Browse files Browse the repository at this point in the history
* update cosign to use v1.10.0 release

Signed-off-by: cpanato <ctadeu@gmail.com>

* enable go install test

Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Jul 25, 2022
1 parent 48866aa commit 09a077b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/test-action.yml
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Install Cosign
uses: ./
with:
cosign-release: 'v1.5.2'
cosign-release: 'v1.8.0'
- name: Check install!
run: cosign version
- name: Check root directory
Expand Down Expand Up @@ -196,18 +196,18 @@ jobs:
[[ -z $(git diff --stat) ]]
shell: bash

# test_cosign_with_go_install:
# runs-on: ubuntu-latest
# permissions: {}
# name: Try to install cosign with go
# steps:
# - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
# - uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.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@2541b1294d2704b0964813337f33b291d3f8596b # v3
- uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
with:
go-version: '1.17.x'
- name: Install Cosign
uses: ./
with:
cosign-release: 'main'
- name: Check install!
run: cosign version
16 changes: 8 additions & 8 deletions action.yml
Expand Up @@ -10,7 +10,7 @@ inputs:
cosign-release:
description: 'cosign release version to be installed'
required: false
default: 'v1.9.0'
default: 'v1.10.0'
install-dir:
description: 'Where to install the cosign binary'
required: false
Expand Down Expand Up @@ -65,13 +65,13 @@ runs:
esac
}
bootstrap_version='v1.9.0'
bootstrap_linux_amd64_sha='47e2596a38e619b72e736fd171eeeaadaf6bd22d6e87a767b339168a87b62761'
bootstrap_linux_arm_sha='53410c1f40aded9511b5512044790b454b4cdf68233beee49082868b75e78c5b'
bootstrap_linux_arm64_sha='abd7ec116dd7e7980f08e67d2c7478ae1cdc97adf778aff76d8a737a908670d8'
bootstrap_darwin_amd64_sha='84a603503f843ee0ea1b394d685c221b192909aacc9312d05a709b0fab184b47'
bootstrap_darwin_arm64_sha='6d81b807b847bff1454573bc8ddfdbb95b4df2dfbbcc5bf91e93cd526a9f7d93'
bootstrap_windows_amd64_sha='62dd10f56b939409267033282aae54ab6ec466270c12b3e0db15c3f41a0c12d1'
bootstrap_version='v1.10.0'
bootstrap_linux_amd64_sha='1f50825bb207098a9dac23c342151e441dc09a593d7707c172abb11701ace40b'
bootstrap_linux_arm_sha='4cf4a1d7deb681b81ffd164926779d85edbdd70a224f3ce9eb9ca5477138f86b'
bootstrap_linux_arm64_sha='e3b42544310c0cb7483c35dce19a503e68e62b51df11ff341451ae1f418023ad'
bootstrap_darwin_amd64_sha='49cf390cbfbce2047f123a7793cf4a8cd0d32a6ba5d260fa0e3282ea2a663e28'
bootstrap_darwin_arm64_sha='6af4bfa11e3e7fcd5a2a3a1081a501acb75cc2bb7a3d2dc381ab1aaa06d11982'
bootstrap_windows_amd64_sha='26b3e2f529608017e320b11741ad7421ca5a77d4e98d976016c1d1fa4d37558b'
cosign_executable_name=cosign
trap "popd >/dev/null" EXIT
Expand Down

0 comments on commit 09a077b

Please sign in to comment.