Skip to content

Commit

Permalink
Merge pull request #131 from crazy-max/update
Browse files Browse the repository at this point in the history
Go 1.22.2, 1.22.3, 1.22.4, 1.22.5, 1.22.6, 1.23.0
  • Loading branch information
crazy-max authored Aug 17, 2024
2 parents b25a621 + db4acb7 commit 8894b66
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# 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"
ARG ALPINE_VERSION="3.19"
ARG XX_VERSION="1.4.0"
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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8894b66

Please sign in to comment.