Skip to content

Commit 2d110ab

Browse files
authored
update go builder and cosign (#4529)
Signed-off-by: Carlos Panato <[email protected]>
1 parent f28a596 commit 2d110ab

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.github/workflows/validate-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
check-signature:
2727
runs-on: ubuntu-latest
2828
container:
29-
image: ghcr.io/sigstore/cosign/cosign:v2.6.1-dev@sha256:40523fa4ca7ba0d9930154f0f6e1730b7a57bee61cadc9612730dfc992bc8abc
29+
image: ghcr.io/sigstore/cosign/cosign:v3.0.2-dev@sha256:322c53c5f3e4516351bd8cb793ff46ad3809eed48a53daf0da1bae8f4d550e18
3030

3131
steps:
3232
- name: Check Signature
3333
run: |
34-
cosign verify ghcr.io/gythialy/golang-cross:v1.25.3-0@sha256:5f7e91a9e3c2411fe1973d9a5ab2f34eddd166251a95654b66c1171128f013c6 \
34+
cosign verify ghcr.io/gythialy/golang-cross:v1.25.4-0@sha256:45ac2d3098413342370c62bd272cfa647c5c0813978719da5b5e31b2ddbf4897 \
3535
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
36-
--certificate-identity "https://github.com/gythialy/golang-cross/.github/workflows/release-golang-cross.yml@refs/tags/v1.25.3-0"
36+
--certificate-identity "https://github.com/gythialy/golang-cross/.github/workflows/release-golang-cross.yml@refs/tags/v1.25.4-0"
3737
env:
3838
TUF_ROOT: /tmp
3939

@@ -43,7 +43,7 @@ jobs:
4343
- check-signature
4444

4545
container:
46-
image: ghcr.io/gythialy/golang-cross:v1.25.3-0@sha256:5f7e91a9e3c2411fe1973d9a5ab2f34eddd166251a95654b66c1171128f013c6
46+
image: ghcr.io/gythialy/golang-cross:v1.25.4-0@sha256:45ac2d3098413342370c62bd272cfa647c5c0813978719da5b5e31b2ddbf4897
4747
volumes:
4848
- /usr:/host_usr
4949
- /opt:/host_opt

release/cloudbuild.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,19 @@ steps:
3232
echo "Checking out ${_GIT_TAG}"
3333
git checkout ${_GIT_TAG}
3434
35-
- name: 'ghcr.io/sigstore/cosign/cosign:v2.6.1-dev@sha256:40523fa4ca7ba0d9930154f0f6e1730b7a57bee61cadc9612730dfc992bc8abc'
35+
- name: 'ghcr.io/sigstore/cosign/cosign:v3.0.2-dev@sha256:322c53c5f3e4516351bd8cb793ff46ad3809eed48a53daf0da1bae8f4d550e18'
3636
dir: "go/src/sigstore/cosign"
3737
env:
3838
- TUF_ROOT=/tmp
3939
args:
4040
- 'verify'
41-
- 'ghcr.io/gythialy/golang-cross:v1.25.3-0@sha256:5f7e91a9e3c2411fe1973d9a5ab2f34eddd166251a95654b66c1171128f013c6'
41+
- 'ghcr.io/gythialy/golang-cross:v1.25.4-0@sha256:45ac2d3098413342370c62bd272cfa647c5c0813978719da5b5e31b2ddbf4897'
4242
- '--certificate-oidc-issuer'
4343
- "https://token.actions.githubusercontent.com"
4444
- '--certificate-identity'
45-
- "https://github.com/gythialy/golang-cross/.github/workflows/release-golang-cross.yml@refs/tags/v1.25.3-0"
46-
45+
- "https://github.com/gythialy/golang-cross/.github/workflows/release-golang-cross.yml@refs/tags/v1.25.4-0"
4746
# maybe we can build our own image and use that to be more in a safe side
48-
- name: ghcr.io/gythialy/golang-cross:v1.25.3-0@sha256:5f7e91a9e3c2411fe1973d9a5ab2f34eddd166251a95654b66c1171128f013c6
47+
- name: ghcr.io/gythialy/golang-cross:v1.25.4-0@sha256:45ac2d3098413342370c62bd272cfa647c5c0813978719da5b5e31b2ddbf4897
4948
entrypoint: /bin/sh
5049
dir: "go/src/sigstore/cosign"
5150
env:
@@ -68,7 +67,7 @@ steps:
6867
gcloud auth configure-docker \
6968
&& make release
7069
71-
- name: ghcr.io/gythialy/golang-cross:v1.25.3-0@sha256:5f7e91a9e3c2411fe1973d9a5ab2f34eddd166251a95654b66c1171128f013c6
70+
- name: ghcr.io/gythialy/golang-cross:v1.25.4-0@sha256:45ac2d3098413342370c62bd272cfa647c5c0813978719da5b5e31b2ddbf4897
7271
entrypoint: 'bash'
7372
dir: "go/src/sigstore/cosign"
7473
env:

0 commit comments

Comments
 (0)