Is go 1.21 not supported by the build image?

I updated my netlify.toml GO_VERSION=1.21, but in the logs I see:

10:38:23 PM: Installing Go version 1.21 (requested 1.21)
10:38:23 PM: Failed to install Go version "1.21"
10:38:24 PM: Continue with existing version "1.19.13"

Is 1.21 not supported by netlify?


The issue was that I didn’t specify the patch version, e.g. GO_VERSION=1.21.5. Weird that with NODE_VERSION it’s enough to set the major version NODE_VERSION=20 and netlify downloads 20.10.0.

1 Like

Thanks for sharing your solution here!