Skip to content

build: switch Docker builds to auto toolchain in module mode#572

Merged
ruinan-liu merged 1 commit intoAzure:mainfrom
fuweid:use-local+auto
Feb 23, 2026
Merged

build: switch Docker builds to auto toolchain in module mode#572
ruinan-liu merged 1 commit intoAzure:mainfrom
fuweid:use-local+auto

Conversation

@fuweid
Copy link
Contributor

@fuweid fuweid commented Feb 21, 2026

In eno-controller and eno-reconciler Dockerfiles, replace pinned GOTOOLCHAIN=go1.24.13 with GOTOOLCHAIN=auto and set GOWORK=off.

When workspace mode is enabled, the Go command resolves toolchain settings from go.work before go.mod. Setting GOWORK=off disables workspace mode, so go build follows the toolchain configured in go.mod.

Align go.work toolchain from go1.24.3 to go1.24.13.

In eno-controller and eno-reconciler Dockerfiles, replace pinned
GOTOOLCHAIN=go1.24.13 with GOTOOLCHAIN=auto and set GOWORK=off.

When workspace mode is enabled, the Go command resolves toolchain settings
from go.work before go.mod. Setting GOWORK=off disables workspace mode,
so go build follows the toolchain configured in go.mod.

Align go.work toolchain from go1.24.3 to go1.24.13.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
@ruinan-liu ruinan-liu merged commit 9c02d7e into Azure:main Feb 23, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants