mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
The same env-var is used for action/setup-go as for overriding the default Go version in Dockerfiles, however action/setup-go only accepts SemVer (e.g. 1.25.0-rc.1) whereas the official golang image follows the Go project's versioning, which doesn't use a SemVer-compatible format (go1.25rc1 / 1.25rc1). Trying to use the same "GO_VERSION" value for both will therefore fail. As we're already updating the default version in the Dockerfile to the version we want to use, let's remove the --build-arg, and use the default that's set in the Dockerfile. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>