Update go from 1.24.6 to 1.25.3

pull/21884/head
minikube-bot 2025-11-10 22:43:15 +00:00
parent 3cda61b89f
commit ed753e6bc1
70 changed files with 71 additions and 70 deletions

View File

@ -12,7 +12,7 @@ on:
- "!deploy/iso/**" - "!deploy/iso/**"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- master - master
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -26,7 +26,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read
jobs: jobs:

View File

@ -22,7 +22,7 @@ on:
- deleted - deleted
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- master - master
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- 'v*-beta.*' - 'v*-beta.*'
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -12,7 +12,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read
jobs: jobs:

View File

@ -6,7 +6,7 @@ on:
- cron: "0 2,14 * * *" - cron: "0 2,14 * * *"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 2,14 * * *" - cron: "0 2,14 * * *"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 2,14 * * *" - cron: "0 2,14 * * *"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -5,7 +5,7 @@ on:
types: [released] types: [released]
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- "translations/**" - "translations/**"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -29,7 +29,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read
jobs: jobs:

View File

@ -3,7 +3,7 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read
jobs: jobs:

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 3" - cron: "0 10 * * 3"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -7,7 +7,7 @@ on:
# - cron: "0 10 * * 5" # - cron: "0 10 * * 5"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -7,7 +7,7 @@ on:
# - cron: "0 10 * * 3" # - cron: "0 10 * * 3"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 3" - cron: "0 10 * * 3"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 4" - cron: "0 10 * * 4"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 9 * * 1" - cron: "0 9 * * 1"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 9 * * 1" - cron: "0 9 * * 1"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -11,7 +11,7 @@ on:
default: "update-buildkit-version,update-cni-plugins-version,update-crun-version,update-docker-version,update-golang-version,update-runc-version,update-debian-version" default: "update-buildkit-version,update-cni-plugins-version,update-crun-version,update-docker-version,update-golang-version,update-runc-version,update-debian-version"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read
jobs: jobs:

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 1" - cron: "0 8 * * 1"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read
jobs: jobs:

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 6 * * 1" - cron: "0 6 * * 1"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 6 * * 1" - cron: "0 6 * * 1"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 2" - cron: "0 10 * * 2"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 6" - cron: "0 8 * * 6"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 0 2 * *" - cron: "0 0 2 * *"
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.24.6' GO_VERSION: '1.25.3'
permissions: permissions:
contents: read contents: read

View File

@ -35,12 +35,12 @@ RPM_REVISION ?= 0
# used by hack/jenkins/release_build_and_upload.sh, see also BUILD_IMAGE below # used by hack/jenkins/release_build_and_upload.sh, see also BUILD_IMAGE below
# update this only by running `make update-golang-version` # update this only by running `make update-golang-version`
GO_VERSION ?= 1.24.6 GO_VERSION ?= 1.25.3
# set GOTOOLCHAIN to GO_VERSION to override any toolchain version specified in # set GOTOOLCHAIN to GO_VERSION to override any toolchain version specified in
# go.mod (ref: https://go.dev/doc/toolchain#GOTOOLCHAIN) # go.mod (ref: https://go.dev/doc/toolchain#GOTOOLCHAIN)
export GOTOOLCHAIN := go$(GO_VERSION) export GOTOOLCHAIN := go$(GO_VERSION)
# update this only by running `make update-golang-version` # update this only by running `make update-golang-version`
GO_K8S_VERSION_PREFIX ?= v1.34.0 GO_K8S_VERSION_PREFIX ?= v1.35.0
INSTALL_SIZE ?= $(shell du out/minikube-windows-amd64.exe | cut -f1) INSTALL_SIZE ?= $(shell du out/minikube-windows-amd64.exe | cut -f1)
BUILDROOT_BRANCH ?= 2025.02 BUILDROOT_BRANCH ?= 2025.02

View File

@ -1,4 +1,4 @@
FROM golang:1.24.6 AS builder FROM golang:1.25.3 AS builder
WORKDIR /app WORKDIR /app
COPY go.mod go.sum ./ COPY go.mod go.sum ./
RUN go mod download RUN go mod download

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
FROM golang:1.24.6 AS builder FROM golang:1.25.3 AS builder
WORKDIR /app WORKDIR /app
COPY go.mod go.sum ./ COPY go.mod go.sum ./
RUN go mod download RUN go mod download

View File

@ -37,3 +37,4 @@ sha256 ad345ac421e90814293a9699cca19dd5238251c3f687980bbcae28495b263531 go1.23
sha256 d14120614acb29d12bcab72bd689f257eb4be9e0b6f88a8fb7e41ac65f8556e5 go1.24.0.src.tar.gz sha256 d14120614acb29d12bcab72bd689f257eb4be9e0b6f88a8fb7e41ac65f8556e5 go1.24.0.src.tar.gz
sha256 6924efde5de86fe277676e929dc9917d466efa02fb934197bc2eba35d5680971 go1.23.4.linux-amd64.tar.gz sha256 6924efde5de86fe277676e929dc9917d466efa02fb934197bc2eba35d5680971 go1.23.4.linux-amd64.tar.gz
sha256 e1cb5582aab588668bc04c07de18688070f6b8c9b2aaf361f821e19bd47cfdbd go1.24.6.src.tar.gz sha256 e1cb5582aab588668bc04c07de18688070f6b8c9b2aaf361f821e19bd47cfdbd go1.24.6.src.tar.gz
sha256 a81a4ba593d0015e10c51e267de3ff07c7ac914dfca037d9517d029517097795 go1.25.3.src.tar.gz

View File

@ -21,7 +21,7 @@
# this ARG needs to be global to use it in `FROM` & is updated for new versions of debian:bookworm-slim-* # this ARG needs to be global to use it in `FROM` & is updated for new versions of debian:bookworm-slim-*
ARG KICBASE_IMAGE="debian:bookworm-20251020-slim" ARG KICBASE_IMAGE="debian:bookworm-20251020-slim"
# multi-stage docker build so we can build auto-pause for arm64 # multi-stage docker build so we can build auto-pause for arm64
FROM golang:1.24.6 AS auto-pause FROM golang:1.25.3 AS auto-pause
WORKDIR /src WORKDIR /src
# auto-pause depends on core minikube code so we need to pass the whole source code as the context # auto-pause depends on core minikube code so we need to pass the whole source code as the context
# copy in the minimal amount of source code possible # copy in the minimal amount of source code possible

2
go.mod
View File

@ -1,6 +1,6 @@
module k8s.io/minikube module k8s.io/minikube
go 1.24.0 go 1.25.0
toolchain go1.24.1 toolchain go1.24.1

View File

@ -31,7 +31,7 @@ AddToPathIfMissing -pathToAdd "C:\Program Files\Go\bin" -scope "Machine"
AddToPathIfMissing -pathToAdd "$HOME\go\bin" -scope "User" AddToPathIfMissing -pathToAdd "$HOME\go\bin" -scope "User"
# Download Go # Download Go
$GoVersion = "1.24.6" $GoVersion = "1.25.3"
$CurrentGo = go version $CurrentGo = go version
if ((!$?) -or ($CurrentGo -NotLike "*$GoVersion*")) { if ((!$?) -or ($CurrentGo -NotLike "*$GoVersion*")) {
(New-Object Net.WebClient).DownloadFile("https://go.dev/dl/go$GoVersion.windows-amd64.zip", "$env:TEMP\golang.zip") (New-Object Net.WebClient).DownloadFile("https://go.dev/dl/go$GoVersion.windows-amd64.zip", "$env:TEMP\golang.zip")

View File

@ -22,7 +22,7 @@ if (($# < 1)); then
exit 1 exit 1
fi fi
VERSION_TO_INSTALL=1.24.6 VERSION_TO_INSTALL=1.25.3
INSTALL_PATH=${1} INSTALL_PATH=${1}
function current_arch() { function current_arch() {