From 4084a45650fb2fa14979ecf2676acb8af3635f03 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Tue, 13 May 2025 15:14:28 +0200 Subject: [PATCH] update go to 1.24 Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- Dockerfile | 2 +- go.mod | 4 +--- hack/releaser/Dockerfile | 2 +- hack/releaser/go.mod | 2 +- hugo.yaml | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index c7e22db80cc..0fbed160d30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # check=skip=InvalidBaseImagePlatform ARG ALPINE_VERSION=3.21 -ARG GO_VERSION=1.23.8 +ARG GO_VERSION=1.24 ARG HTMLTEST_VERSION=0.17.0 ARG HUGO_VERSION=0.141.0 ARG NODE_VERSION=22 diff --git a/go.mod b/go.mod index 26a9c60f198..ebea548b95e 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/docker/docs -go 1.23.8 - -toolchain go1.24.1 +go 1.24.0 require ( github.com/docker/buildx v0.23.0 // indirect diff --git a/hack/releaser/Dockerfile b/hack/releaser/Dockerfile index 11c574d173a..90687cf448b 100644 --- a/hack/releaser/Dockerfile +++ b/hack/releaser/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.23 +ARG GO_VERSION=1.24 FROM scratch AS sitedir diff --git a/hack/releaser/go.mod b/hack/releaser/go.mod index d17c092280c..0e1396febd7 100644 --- a/hack/releaser/go.mod +++ b/hack/releaser/go.mod @@ -1,6 +1,6 @@ module github.com/docker/docs/hack/releaser -go 1.22 +go 1.24.0 require ( github.com/alecthomas/kong v1.4.0 diff --git a/hugo.yaml b/hugo.yaml index fb1c962215a..86f4f43246e 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -145,7 +145,7 @@ params: buildkit_version: "0.21.0" # Example runtime/library/os versions - example_go_version: "1.23" + example_go_version: "1.24" example_alpine_version: "3.21" example_node_version: "20"