From 51bd9004aadfab9e13f136428a3efcf2fc7a388c Mon Sep 17 00:00:00 2001 From: Gong Zhang Date: Thu, 7 Sep 2023 13:59:33 +0800 Subject: [PATCH] Bump to Go 1.20.8 Signed-off-by: Gong Zhang --- Dockerfile | 2 +- Makefile | 2 +- hack/ensure-go.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 440ed82e80..0a04da5474 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # Build the manager binary -ARG GOLANG_VERSION=golang:1.20.6 +ARG GOLANG_VERSION=golang:1.20.8 FROM --platform=${BUILDPLATFORM} ${GOLANG_VERSION} as builder WORKDIR /workspace diff --git a/Makefile b/Makefile index 7919d4d858..ce99462618 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ SHELL:=/usr/bin/env bash # # Go. # -GO_VERSION ?= 1.20.7 +GO_VERSION ?= 1.20.8 GO_CONTAINER_IMAGE ?= docker.io/library/golang:$(GO_VERSION) # Use GOPROXY environment variable if set diff --git a/hack/ensure-go.sh b/hack/ensure-go.sh index b47c3447f4..7c039a69ae 100755 --- a/hack/ensure-go.sh +++ b/hack/ensure-go.sh @@ -19,7 +19,7 @@ set -o nounset set -o pipefail # MIN_GO_VERSION is the minimum, supported Go version. -MIN_GO_VERSION="go${MIN_GO_VERSION:-1.20.6}" +MIN_GO_VERSION="go${MIN_GO_VERSION:-1.20.8}" # Ensure the go tool exists and is a viable version. verify_go_version() {