Skip to content

Commit 7c06ce4

Browse files
authored
Merge pull request #358 from cpanato/update-go-122
update go to 1.22.12 and tools
2 parents 371f160 + f76db96 commit 7c06ce4

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/builder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ on:
55
inputs:
66
builder-tag:
77
description: golang cross builder tag name
8-
default: v1.22.10-0
8+
default: v1.22.12-0
99
golang-version:
1010
description: golang version
11-
default: "1.22.10"
11+
default: "1.22.12"
1212
osxcross-git-hash:
1313
description: git commit hash of osx-cross project
1414
default: "ff8d100f3f026b4ffbe4ce96d8aac4ce06f1278b"

Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
ARG OS_CODENAME=bookworm
22

3-
FROM ghcr.io/gythialy/golang-cross-builder:v1.22.10-0-${OS_CODENAME:-bookworm}
3+
FROM ghcr.io/gythialy/golang-cross-builder:v1.22.12-0-${OS_CODENAME:-bookworm}
44

55
LABEL maintainer="Goren G<gythialy.koo+github@gmail.com>"
66
LABEL org.opencontainers.image.source https://github.com/gythialy/golang-cross
77

88
COPY entrypoint.sh /
99

1010
# install cosign
11-
ARG COSIGN_VERSION=v2.4.1
12-
ARG COSIGN_SHA=8b24b946dd5809c6bd93de08033bcf6bc0ed7d336b7785787c080f574b89249b
11+
ARG COSIGN_VERSION=v2.4.2
12+
ARG COSIGN_SHA=e7f5bd99a790703333e8f8e8e6c91d5e646f3d7041e4cf935b56587de20cec3f
1313
RUN \
1414
COSIGN_DOWNLOAD_FILE=cosign-linux-amd64 && \
1515
wget -O $COSIGN_DOWNLOAD_FILE https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/${COSIGN_DOWNLOAD_FILE} && \
@@ -19,18 +19,18 @@ RUN \
1919
cosign version
2020

2121
# install syft
22-
ARG SYFT_VERSION=v1.18.0
23-
ARG SYFT_SHA=0b6fd1e0dd5b00b19585e5cde8e1c1f4ef60dc8fba8b41fab55f00852a2fbb8d
24-
RUN \
22+
ARG SYFT_VERSION=v1.19.0
23+
ARG SYFT_SHA=1dec148ea36aef68a866e35528974b5dbc106ba0b545f1a262ad977d48294637
24+
RUN \
2525
SYFT_DOWNLOAD_FILE=syft_${SYFT_VERSION#v}_linux_amd64.tar.gz && \
2626
SYFT_DOWNLOAD_URL=https://github.com/anchore/syft/releases/download/${SYFT_VERSION}/${SYFT_DOWNLOAD_FILE} && \
2727
wget ${SYFT_DOWNLOAD_URL} && \
2828
echo "$SYFT_SHA $SYFT_DOWNLOAD_FILE" | sha256sum -c - || exit 1 && \
2929
tar -xzf $SYFT_DOWNLOAD_FILE -C /usr/bin/ syft && \
3030
rm $SYFT_DOWNLOAD_FILE
3131

32-
ARG GO_VERSION=go1.22.10
33-
ARG GOLANG_DIST_SHA=736ce492a19d756a92719a6121226087ccd91b652ed5caec40ad6dbfb2252092
32+
ARG GO_VERSION=go1.22.12
33+
ARG GOLANG_DIST_SHA=4fa4f869b0f7fc6bb1eb2660e74657fbf04cdd290b5aef905585c86051b34d43
3434
# update golang
3535
RUN \
3636
GOLANG_DIST=https://storage.googleapis.com/golang/${GO_VERSION}.linux-amd64.tar.gz && \
@@ -42,8 +42,8 @@ RUN \
4242
go version
4343

4444
# install goreleaser
45-
ARG GORELEASER_VERSION=v2.4.8
46-
ARG GORELEASER_SHA=a115c78edc90d0eb5d36272c54a8087c0b209644349f3e720e2ec53d48d77647
45+
ARG GORELEASER_VERSION=v2.6.1
46+
ARG GORELEASER_SHA=517bc6422ed3fc4ae12900216cdab047dbb1dc60610174a170f7b760f171e27f
4747
# RUN \
4848
# wget https://github.com/goreleaser/goreleaser/releases/download/$GORELEASER_VERSION/checksums.txt.pem && \
4949
# cosign verify-blob --certificate checksums.txt.pem --signature https://github.com/goreleaser/goreleaser/releases/download/$GORELEASER_VERSION/checksums.txt.sig https://github.com/goreleaser/goreleaser/releases/download/$GORELEASER_VERSION/checksums.txt && \

Dockerfile.builder

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# golang parameters
2-
ARG GO_VERSION=1.22.10
2+
ARG GO_VERSION=1.22.12
33
ARG OS_CODENAME=bookworm
44
ARG OSK_SDK=macos-13
55

66
FROM ghcr.io/gythialy/osx-sdk:${OSK_SDK:-macos-13} AS osx-sdk
77

8-
FROM golang:${GO_VERSION:-1.22.10}-${OS_CODENAME:-bookworm} AS base
8+
FROM golang:${GO_VERSION:-1.22.12}-${OS_CODENAME:-bookworm} AS base
99

1010
# osxcross parameters
1111
ARG OSX_VERSION_MIN=10.13

0 commit comments

Comments
 (0)