Bump images, dependencies and versions to go 1.24.0

Signed-off-by: cpanato <ctadeu@gmail.com>
This commit is contained in:
cpanato
2025-01-17 13:13:11 +01:00
parent 3d9fcb7c01
commit 597b54720e
9 changed files with 16 additions and 15 deletions

View File

@@ -508,7 +508,7 @@ kube::golang::set_platform_envs() {
# if CC is defined for platform then always enable it
ccenv=$(echo "$platform" | awk -F/ '{print "KUBE_" toupper($1) "_" toupper($2) "_CC"}')
if [ -n "${!ccenv-}" ]; then
if [ -n "${!ccenv-}" ]; then
export CGO_ENABLED=1
export CC="${!ccenv}"
fi
@@ -551,7 +551,7 @@ EOF
local go_version
IFS=" " read -ra go_version <<< "$(GOFLAGS='' go version)"
local minimum_go_version
minimum_go_version=go1.23
minimum_go_version=go1.24
if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
kube::log::usage_from_stdin <<EOF
Detected go version: ${go_version[*]}.