From 969a3f14eb95754ecc4a3d74ae783c4a05f25151 Mon Sep 17 00:00:00 2001 From: Keerthan Reddy Mala Date: Wed, 1 Nov 2023 14:02:18 -0700 Subject: [PATCH] update the go version to 1.21.3 --- .ko.yaml | 2 +- Dockerfile | 2 +- cloudbuild.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ko.yaml b/.ko.yaml index 9e532d9365..35ce0eee7d 100644 --- a/.ko.yaml +++ b/.ko.yaml @@ -1 +1 @@ -defaultBaseImage: registry.k8s.io/build-image/go-runner:v2.3.1-go1.20.3-bullseye.0 +defaultBaseImage: registry.k8s.io/build-image/go-runner:v2.3.1-go1.21.3-bookworm.0 diff --git a/Dockerfile b/Dockerfile index 9d6c0be21f..8a111162bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ ARG GOLANG_IMAGE=golang:1.21.3 # deterministic builds. Follow what kubernetes uses to build # kube-controller-manager, for example for 1.23.x: # https://github.com/kubernetes/kubernetes/blob/release-1.24/build/common.sh#L94 -ARG DISTROLESS_IMAGE=registry.k8s.io/build-image/go-runner:v2.3.1-go1.20.3-bullseye.0 +ARG DISTROLESS_IMAGE=registry.k8s.io/build-image/go-runner:v2.3.1-go1.21.3-bookworm.0 ################################################################################ ## BUILD STAGE ## diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 3e26f5ad7e..96520bb26a 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -17,7 +17,7 @@ steps: - --platform=linux/amd64,linux/arm64 - . # Build cloudbuild artifacts (for attestation) - - name: 'docker.io/library/golang:1.20.3-bullseye' + - name: 'docker.io/library/golang:1.21.3-bookworm' id: cloudbuild-artifacts entrypoint: make env: