Skip to content

Commit d7d6bc7

Browse files
authored
use cosign 2.4.3 and other updates (#182)
Signed-off-by: cpanato <ctadeu@gmail.com>
1 parent c56c2d3 commit d7d6bc7

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

.github/workflows/test-action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ jobs:
272272
- ubuntu-latest
273273
- windows-latest
274274
go_version:
275-
- '1.22'
276275
- '1.23'
276+
- '1.24'
277277
name: Try to install cosign with go ${{ matrix.go_version }} on ${{ matrix.os }}
278278
steps:
279279
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ This action currently supports GitHub-provided Linux, macOS and Windows runners
1313
Add the following entry to your Github workflow YAML file:
1414

1515
```yaml
16-
uses: sigstore/cosign-installer@v3.8.0
16+
uses: sigstore/cosign-installer@v3.8.1
1717
with:
18-
cosign-release: 'v2.4.2' # optional
18+
cosign-release: 'v2.4.3' # optional
1919
```
2020
2121
Example using a pinned version:
@@ -30,9 +30,9 @@ jobs:
3030
name: Install Cosign
3131
steps:
3232
- name: Install Cosign
33-
uses: sigstore/cosign-installer@v3.8.0
33+
uses: sigstore/cosign-installer@v3.8.1
3434
with:
35-
cosign-release: 'v2.4.2'
35+
cosign-release: 'v2.4.3'
3636
- name: Check install!
3737
run: cosign version
3838
```
@@ -49,7 +49,7 @@ jobs:
4949
name: Install Cosign
5050
steps:
5151
- name: Install Cosign
52-
uses: sigstore/cosign-installer@v3.8.0
52+
uses: sigstore/cosign-installer@v3.8.1
5353
- name: Check install!
5454
run: cosign version
5555
```
@@ -68,12 +68,12 @@ jobs:
6868
name: Install Cosign via go install
6969
steps:
7070
- name: Install go
71-
uses: actions/setup-go@v4
71+
uses: actions/setup-go@v5
7272
with:
7373
go-version: '1.23'
7474
check-latest: true
7575
- name: Install Cosign
76-
uses: sigstore/cosign-installer@v3.8.0
76+
uses: sigstore/cosign-installer@v3.8.1
7777
with:
7878
cosign-release: main
7979
- name: Check install!
@@ -100,34 +100,34 @@ jobs:
100100
101101
name: build-image
102102
steps:
103-
- uses: actions/checkout@v3.5.2
103+
- uses: actions/checkout@v4
104104
with:
105105
fetch-depth: 1
106106
107107
- name: Install Cosign
108-
uses: sigstore/cosign-installer@v3.8.0
108+
uses: sigstore/cosign-installer@v3.8.1
109109
110110
- name: Set up QEMU
111-
uses: docker/setup-qemu-action@v2.1.0
111+
uses: docker/setup-qemu-action@v3.4.0
112112
113113
- name: Set up Docker Buildx
114-
uses: docker/setup-buildx-action@v2.5.0
114+
uses: docker/setup-buildx-action@v3.9.0
115115
116116
- name: Login to GitHub Container Registry
117-
uses: docker/login-action@v2.1.0
117+
uses: docker/login-action@v3.3.0
118118
with:
119119
registry: ghcr.io
120120
username: ${{ github.actor }}
121121
password: ${{ secrets.GITHUB_TOKEN }}
122122
123123
- id: docker_meta
124-
uses: docker/metadata-action@v4.4.0
124+
uses: docker/metadata-action@v5.6.1
125125
with:
126126
images: ghcr.io/sigstore/sample-honk
127127
tags: type=sha,format=long
128128
129129
- name: Build and Push container images
130-
uses: docker/build-push-action@v4.0.0
130+
uses: docker/build-push-action@v6.14.0
131131
id: build-and-push
132132
with:
133133
platforms: linux/amd64,linux/arm/v7,linux/arm64

action.yml

+8-8
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: 'v2.4.2'
13+
default: 'v2.4.3'
1414
install-dir:
1515
description: 'Where to install the cosign binary'
1616
required: false
@@ -65,13 +65,13 @@ runs:
6565
esac
6666
}
6767
68-
bootstrap_version='v2.4.2'
69-
bootstrap_linux_amd64_sha='e7f5bd99a790703333e8f8e8e6c91d5e646f3d7041e4cf935b56587de20cec3f'
70-
bootstrap_linux_arm_sha='c626df51f614085322ce66bc1c06f159d6b17669113013f0014bda8c34c741f5'
71-
bootstrap_linux_arm64_sha='9ab2a932190161d67b9fcda81777e28086b2152c7d506a0e2f83dbb3fd7e2b1c'
72-
bootstrap_darwin_amd64_sha='2697aba2d9ea5159b8f209025cfc392a8a25ce177c8d3b0e07afd4e1db3b163c'
73-
bootstrap_darwin_arm64_sha='f9a574c1ab208918a0d96ffca7a105dfb32792f6c33e0da2dbefb76e25600ab8'
74-
bootstrap_windows_amd64_sha='996e6b5e0ca712c3a2c0e182aee957b85df1eba69babaae8a6349c0bce0088db'
68+
bootstrap_version='v2.4.3'
69+
bootstrap_linux_amd64_sha='caaad125acef1cb81d58dcdc454a1e429d09a750d1e9e2b3ed1aed8964454708'
70+
bootstrap_linux_arm_sha='729d18ef31679dd2d6be1aaffcb122f31edb4ed04dedceb409e8104adf49507a'
71+
bootstrap_linux_arm64_sha='bd0f9763bca54de88699c3656ade2f39c9a1c7a2916ff35601caf23a79be0629'
72+
bootstrap_darwin_amd64_sha='98a3bfd691f42c6a5b721880116f89210d8fdff61cc0224cd3ef2f8e55a466fb'
73+
bootstrap_darwin_arm64_sha='edfc761b27ced77f0f9ca288ff4fac7caa898e1e9db38f4dfdf72160cdf8e638'
74+
bootstrap_windows_amd64_sha='a2ac24e197111c9430cb2a98f10a641164381afb83df036504868e4ea5720800'
7575
cosign_executable_name=cosign
7676
7777
trap "popd >/dev/null" EXIT

0 commit comments

Comments
 (0)