Skip to content

Commit 1f372f1

Browse files
prezhamedyagh
authored andcommitted
set GOTOOLCHAIN to GO_VERSION in Makefile
1 parent 41d7589 commit 1f372f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ RPM_REVISION ?= 0
3636
# used by hack/jenkins/release_build_and_upload.sh and KVM_BUILD_IMAGE, see also BUILD_IMAGE below
3737
# update this only by running `make update-golang-version`
3838
GO_VERSION ?= 1.23.4
39-
# set GOTOOLCHAIN to local to override the toolchain version specified in go.mod and
40-
# use the one CI hosts has installed (ref: https://go.dev/doc/toolchain#GOTOOLCHAIN)
41-
export GOTOOLCHAIN := local
39+
# set GOTOOLCHAIN to GO_VERSION to override any toolchain version specified in
40+
# go.mod (ref: https://go.dev/doc/toolchain#GOTOOLCHAIN)
41+
export GOTOOLCHAIN := $(GO_VERSION)
4242
# update this only by running `make update-golang-version`
4343
GO_K8S_VERSION_PREFIX ?= v1.33.0
4444

0 commit comments

Comments
 (0)