From d6a3abf1bdea83574e28d40543793018b6035605 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Thu, 7 Apr 2022 00:37:29 +0200 Subject: [PATCH] update action to use cosign release v1.7.1 (#69) Signed-off-by: cpanato --- .github/workflows/test-action.yml | 31 +++++++++++++++---------------- README.md | 2 +- action.yml | 16 ++++++++-------- 3 files changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index c5ee5d9..3847480 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -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 diff --git a/README.md b/README.md index f739379..79538a4 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/action.yml b/action.yml index 86d75a9..8ebe3ef 100644 --- a/action.yml +++ b/action.yml @@ -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 @@ -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