Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
inputs:
builder-tag:
description: golang cross builder tag name
default: v1.25.3-0
default: v1.25.4-0
golang-version:
description: golang version
default: "1.25.3"
default: "1.25.4"
osxcross-git-hash:
description: git commit hash of osx-cross project
default: "ff8d100f3f026b4ffbe4ce96d8aac4ce06f1278b"
Expand Down
18 changes: 9 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
ARG OS_CODENAME=bookworm

FROM ghcr.io/gythialy/golang-cross-builder:v1.25.3-0-${OS_CODENAME:-trixie}
FROM ghcr.io/gythialy/golang-cross-builder:v1.25.4-0-${OS_CODENAME:-trixie}

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

COPY entrypoint.sh /

# install cosign
ARG COSIGN_VERSION=v2.6.1
ARG COSIGN_SHA=064954c5d8c7e3b28188eee5b1727b31c411550bc5fefd41aa672d3c761d103a
ARG COSIGN_VERSION=v3.0.2
ARG COSIGN_SHA=46dbdcb5467a3dfec2526923d0b3365e40c8d9dc00ec23d5aca3437449e8cbfd
RUN \
COSIGN_DOWNLOAD_FILE=cosign-linux-amd64 && \
wget -O $COSIGN_DOWNLOAD_FILE https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/${COSIGN_DOWNLOAD_FILE} && \
Expand All @@ -19,8 +19,8 @@ RUN \
cosign version

# install syft
ARG SYFT_VERSION=v1.33.0
ARG SYFT_SHA=adc1b944a827ed3432bcd9f1dbdbc8fa3c0dca7d3d449e7084c90248c2c6cb50
ARG SYFT_VERSION=v1.37.0
ARG SYFT_SHA=b81a0dc81b92265f4597659bba5509e014c78228182804bb1bc97856af26e326
RUN \
SYFT_DOWNLOAD_FILE=syft_${SYFT_VERSION#v}_linux_amd64.tar.gz && \
SYFT_DOWNLOAD_URL=https://github.com/anchore/syft/releases/download/${SYFT_VERSION}/${SYFT_DOWNLOAD_FILE} && \
Expand All @@ -29,8 +29,8 @@ RUN \
tar -xzf $SYFT_DOWNLOAD_FILE -C /usr/bin/ syft && \
rm $SYFT_DOWNLOAD_FILE

ARG GO_VERSION=go1.25.3
ARG GOLANG_DIST_SHA=0335f314b6e7bfe08c3d0cfaa7c19db961b7b99fb20be62b0a826c992ad14e0f
ARG GO_VERSION=go1.25.4
ARG GOLANG_DIST_SHA=9fa5ffeda4170de60f67f3aa0f824e426421ba724c21e133c1e35d6159ca1bec
# update golang
RUN \
GOLANG_DIST=https://storage.googleapis.com/golang/${GO_VERSION}.linux-amd64.tar.gz && \
Expand All @@ -42,8 +42,8 @@ RUN \
go version

# install goreleaser
ARG GORELEASER_VERSION=v2.12.5
ARG GORELEASER_SHA=7675261dbfb73bf80e3fcb6502373aecfde67a7431f7ee888fb86407afc9ca39
ARG GORELEASER_VERSION=v2.12.7
ARG GORELEASER_SHA=de95c5d1e728e18753c3ddcf02974d63d6432f0a7355a5afa6813971a95a01b8
# RUN \
# wget https://github.com/goreleaser/goreleaser/releases/download/$GORELEASER_VERSION/checksums.txt.pem && \
# 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 && \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.builder
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# golang parameters
ARG GO_VERSION=1.25.3
ARG GO_VERSION=1.25.4
ARG OS_CODENAME=trixie
ARG OSK_SDK=macos-13

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

FROM golang:${GO_VERSION:-1.25.3}-${OS_CODENAME:-trixie} AS base
FROM golang:${GO_VERSION:-1.25.4}-${OS_CODENAME:-trixie} AS base

# Re-declare ARG after FROM to make it available in this stage
ARG OS_CODENAME=trixie
Expand Down