Skip to content

Commit 54c922a

Browse files
committed
update go to 1.22.10 and tools
Signed-off-by: cpanato <ctadeu@gmail.com>
1 parent 47700ef commit 54c922a

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
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.8-0
8+
default: v1.22.10-0
99
golang-version:
1010
description: golang version
11-
default: "1.22.8"
11+
default: "1.22.10"
1212
osxcross-git-hash:
1313
description: git commit hash of osx-cross project
1414
default: "ff8d100f3f026b4ffbe4ce96d8aac4ce06f1278b"

Dockerfile

Lines changed: 11 additions & 11 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.8-0-${OS_CODENAME:-bookworm}
3+
FROM ghcr.io/gythialy/golang-cross-builder:v1.22.10-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.0
12-
ARG COSIGN_SHA=cd7636b3586a3bdac2d9c8f3b421ed119edcb20499107887fd929211110e8418
11+
ARG COSIGN_VERSION=v2.4.1
12+
ARG COSIGN_SHA=8b24b946dd5809c6bd93de08033bcf6bc0ed7d336b7785787c080f574b89249b
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,8 +19,8 @@ RUN \
1919
cosign version
2020

2121
# install syft
22-
ARG SYFT_VERSION=v1.11.0
23-
ARG SYFT_SHA=0a61e5ef09f88562a35b6ec5dd27fa77f19c8611c26e58d527c4da191736b472
22+
ARG SYFT_VERSION=v1.18.0
23+
ARG SYFT_SHA=0b6fd1e0dd5b00b19585e5cde8e1c1f4ef60dc8fba8b41fab55f00852a2fbb8d
2424
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} && \
@@ -29,8 +29,8 @@ RUN \
2929
tar -xzf $SYFT_DOWNLOAD_FILE -C /usr/bin/ syft && \
3030
rm $SYFT_DOWNLOAD_FILE
3131

32-
ARG GO_VERSION=go1.22.8
33-
ARG GOLANG_DIST_SHA=5f467d29fc67c7ae6468cb6ad5b047a274bae8180cac5e0b7ddbfeba3e47e18f
32+
ARG GO_VERSION=go1.22.10
33+
ARG GOLANG_DIST_SHA=736ce492a19d756a92719a6121226087ccd91b652ed5caec40ad6dbfb2252092
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.1.0
46-
ARG GORELEASER_SHA=4d4fb316acb3f5dfd45c7cd426f6120f8a294cb752d6cff46ad9b771f22f6f0d
45+
ARG GORELEASER_VERSION=v2.4.8
46+
ARG GORELEASER_SHA=a115c78edc90d0eb5d36272c54a8087c0b209644349f3e720e2ec53d48d77647
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 && \
@@ -58,8 +58,8 @@ RUN \
5858
goreleaser -v
5959

6060
# install ko
61-
ARG KO_VERSION=v0.16.0
62-
ARG KO_SHA=aee2caeced511e60c6889a4cfaf9ebe28ec35acb49531b7a90b09e0a963bcff7
61+
ARG KO_VERSION=v0.17.1
62+
ARG KO_SHA=4f0b979b59880b3232f47d79c940f2279165aaad15a11d7614e8a2c9e5c78c29
6363
RUN \
6464
KO_DOWNLOAD_FILE=ko_${KO_VERSION#v}_Linux_x86_64.tar.gz && \
6565
KO_DOWNLOAD_URL=https://github.com/ko-build/ko/releases/download/${KO_VERSION}/${KO_DOWNLOAD_FILE} && \

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.8
2+
ARG GO_VERSION=1.22.10
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.8}-${OS_CODENAME:-bookworm} AS base
8+
FROM golang:${GO_VERSION:-1.22.10}-${OS_CODENAME:-bookworm} AS base
99

1010
# osxcross parameters
1111
ARG OSX_VERSION_MIN=10.13

0 commit comments

Comments
 (0)