From 0611d5b23fabf4145914ed023d6fab217ad1f0b4 Mon Sep 17 00:00:00 2001 From: Tuomo Tanskanen Date: Wed, 14 Aug 2024 09:34:49 +0300 Subject: [PATCH] bump golang to 1.22.6 Bump golang to 1.22.6 Signed-off-by: Tuomo Tanskanen --- Dockerfile | 2 +- Makefile | 2 +- hack/e2e/ensure_go.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 79d2ac8fa2..106a99a155 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Support FROM override -ARG BUILD_IMAGE=docker.io/golang:1.22.5@sha256:f47a7952d08277f9816459d851319c9041637022f04517388d9f32e384fc2dab +ARG BUILD_IMAGE=docker.io/golang:1.22.6@sha256:d5e49f92b9566b0ddfc59a0d9d85cd8a848e88c8dc40d97e29f306f07c3f8338 ARG BASE_IMAGE=gcr.io/distroless/static:nonroot@sha256:9ecc53c269509f63c69a266168e4a687c7eb8c0cfd753bd8bfcaa4f58a90876f # Build the manager binary diff --git a/Makefile b/Makefile index 47ffb9a5f8..d22dd8ed2c 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.22.5 +GO_VERSION ?= 1.22.6 ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST)))) diff --git a/hack/e2e/ensure_go.sh b/hack/e2e/ensure_go.sh index e772f7efa8..99c7e512d0 100755 --- a/hack/e2e/ensure_go.sh +++ b/hack/e2e/ensure_go.sh @@ -2,7 +2,7 @@ set -eux -MINIMUM_GO_VERSION=go1.22.5 +MINIMUM_GO_VERSION=go1.22.6 # Ensure the go tool exists and is a viable version, or installs it verify_go_version()