From 05652a3bab9faa886609eb5ae755320c15e843d4 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 16 Aug 2024 02:18:54 +0200 Subject: [PATCH 1/3] Go 1.22.2, 1.22.3, 1.22.4, 1.22.5, 1.22.6, 1.23.0 --- .github/workflows/image.yml | 19 ++++++++----------- .github/workflows/test.yml | 4 ++-- Dockerfile | 4 ++-- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index b35785d..5c95b23 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -22,8 +22,8 @@ env: DOCKERHUB_SLUG: crazymax/xgo GHCR_SLUG: ghcr.io/crazy-max/xgo PLATFORMS: linux/amd64,linux/arm64 - LATEST_CURRENT: 1.22.1 - LATEST_PREVIOUS: 1.21.8 + LATEST_CURRENT: 1.23.0 + LATEST_PREVIOUS: 1.22.6 jobs: prepare: @@ -58,17 +58,14 @@ jobs: fail-fast: false matrix: go_version: - - 1.21.0 - - 1.21.1 - - 1.21.2 - - 1.21.3 - - 1.21.4 - - 1.21.5 - - 1.21.6 - - 1.21.7 - - 1.21.8 - 1.22.0 - 1.22.1 + - 1.22.2 + - 1.22.3 + - 1.22.4 + - 1.22.5 + - 1.22.6 + - 1.23.0 steps: - name: Checkout diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 54c9685..6e3ba7d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,8 +24,8 @@ jobs: fail-fast: false matrix: go_version: - - 1.22.1 - - 1.21.8 + - 1.23.0 + - 1.22.6 case: - c - cpp diff --git a/Dockerfile b/Dockerfile index 65cd9a3..861fa3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION="1.22.1" +ARG GO_VERSION="1.23.0" ARG OSXCROSS_VERSION="11.3" ARG GHQ_VERSION="1.6.1" ARG XX_VERSION="1.3.0" @@ -61,7 +61,7 @@ RUN --mount=type=bind,target=/src \ set -ex mkdir /out version=$(cat /tmp/.version) - cp /build/* /src/CHANGELOG.md /src/LICENSE /src/README.md . + cp /build/* /src/LICENSE /src/README.md . if [ "$TARGETOS" = "windows" ]; then zip -r "/out/xgo_${version#v}_${TARGETOS}_${TARGETARCH}${TARGETVARIANT}.zip" . else From ab0bf11069f116bf302a7df5a7c08326cd3bc90f Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 16 Aug 2024 02:19:41 +0200 Subject: [PATCH 2/3] update xx to 1.4.0 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 861fa3f..67829a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG GO_VERSION="1.23.0" ARG OSXCROSS_VERSION="11.3" ARG GHQ_VERSION="1.6.1" -ARG XX_VERSION="1.3.0" +ARG XX_VERSION="1.4.0" ARG ALPINE_VERSION="3.19" ARG PLATFORMS="linux/386 linux/amd64 linux/arm64 linux/arm/v5 linux/arm/v6 linux/arm/v7 linux/mips linux/mipsle linux/mips64 linux/mips64le linux/ppc64le linux/riscv64 linux/s390x windows/386 windows/amd64" From db4acb7d46a9a21ba234f977dd61fcd9dc8ee14f Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 16 Aug 2024 02:20:13 +0200 Subject: [PATCH 3/3] update to alpine 3.20 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 67829a6..684e389 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG GO_VERSION="1.23.0" ARG OSXCROSS_VERSION="11.3" ARG GHQ_VERSION="1.6.1" ARG XX_VERSION="1.4.0" -ARG ALPINE_VERSION="3.19" +ARG ALPINE_VERSION="3.20" ARG PLATFORMS="linux/386 linux/amd64 linux/arm64 linux/arm/v5 linux/arm/v6 linux/arm/v7 linux/mips linux/mipsle linux/mips64 linux/mips64le linux/ppc64le linux/riscv64 linux/s390x windows/386 windows/amd64" FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx