From b5a21d3f18c1896a0c0c915ae6620b4b173e19e6 Mon Sep 17 00:00:00 2001 From: Sunnatillo Date: Mon, 4 Mar 2024 14:05:49 +0200 Subject: [PATCH] Bump GO to v1.21.7 Signed-off-by: Sunnatillo --- Dockerfile | 2 +- Makefile | 2 +- hack/e2e/ensure_go.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7635d10a95..7447f4574c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Support FROM override -ARG BUILD_IMAGE=docker.io/golang:1.20.14@sha256:8f9af7094d0cb27cc783c697ac5ba25efdc4da35f8526db21f7aebb0b0b4f18a +ARG BUILD_IMAGE=docker.io/golang:1.21.7@sha256:549dd88a1a53715f177b41ab5fee25f7a376a6bb5322ac7abe263480d9554021 ARG BASE_IMAGE=gcr.io/distroless/static:nonroot@sha256:9ecc53c269509f63c69a266168e4a687c7eb8c0cfd753bd8bfcaa4f58a90876f # Build the manager binary diff --git a/Makefile b/Makefile index 1ccc98bd81..7d357eec3e 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RUN_NAMESPACE = metal3 GO_TEST_FLAGS = $(TEST_FLAGS) DEBUG = --debug COVER_PROFILE = cover.out -GO_VERSION ?= 1.20.14 +GO_VERSION ?= 1.21.7 ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST)))) diff --git a/hack/e2e/ensure_go.sh b/hack/e2e/ensure_go.sh index ac02161174..a7eaa83f0b 100755 --- a/hack/e2e/ensure_go.sh +++ b/hack/e2e/ensure_go.sh @@ -2,7 +2,7 @@ set -eux -MINIMUM_GO_VERSION=go1.20.14 +MINIMUM_GO_VERSION=go1.21.7 # Ensure the go tool exists and is a viable version, or installs it verify_go_version()