-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
4.22
-
None
This is a clone of issue OCPBUGS-74165. The following is the description of the original issue:
—
OKD builds for ose-aws-pod-identity-webhook fail during the Go build step with:
go: invalid GOTOOLCHAIN "gov1.24.11"
The golang builder base image sets GO_VERSION=v1.24.11 (with "v" prefix). The hack/setup-go.sh script creates GOTOOLCHAIN=go${GO_VERSION} without stripping the prefix, resulting in invalid value "gov1.24.11". This bug was masked in OpenShift builds because the Go compliance shim forces GOTOOLCHAIN=local. OKD builds are exempt from compliance enforcement, exposing the issue.
Fix: Strip "v" prefix from GO_VERSION before constructing GOTOOLCHAIN.