From 0bafade521785d949827f9c2883c33e694e1e0af Mon Sep 17 00:00:00 2001 From: Keerthan Reddy Mala Date: Mon, 13 Nov 2023 14:27:12 -0800 Subject: [PATCH] Update the go version to 1.21.4 --- .github/workflows/deps.yml | 4 ++-- .ko.yaml | 2 +- Dockerfile | 4 ++-- cloudbuild.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deps.yml b/.github/workflows/deps.yml index bb6df79ef7..6a5ed10eb7 100644 --- a/.github/workflows/deps.yml +++ b/.github/workflows/deps.yml @@ -22,10 +22,10 @@ jobs: - id: govulncheck uses: golang/govulncheck-action@v1 with: - go-version-input: 1.21.3 + go-version-input: 1.21.4 go-version-file: go.mod - id: govulncheck-tests-e2e uses: golang/govulncheck-action@v1 with: - go-version-input: 1.21.3 + go-version-input: 1.21.4 go-version-file: tests/e2e/go.mod \ No newline at end of file diff --git a/.ko.yaml b/.ko.yaml index 35ce0eee7d..42cdf2f998 100644 --- a/.ko.yaml +++ b/.ko.yaml @@ -1 +1 @@ -defaultBaseImage: registry.k8s.io/build-image/go-runner:v2.3.1-go1.21.3-bookworm.0 +defaultBaseImage: registry.k8s.io/build-image/go-runner:v2.3.1-go1.21.4-bookworm.0 diff --git a/Dockerfile b/Dockerfile index 8a111162bd..e750a33ed7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ ## BUILD ARGS ## ################################################################################ # This build arg allows the specification of a custom Golang image. -ARG GOLANG_IMAGE=golang:1.21.3 +ARG GOLANG_IMAGE=golang:1.21.4 # The distroless image on which the CPI manager image is built. # @@ -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.21.3-bookworm.0 +ARG DISTROLESS_IMAGE=registry.k8s.io/build-image/go-runner:v2.3.1-go1.21.4-bookworm.0 ################################################################################ ## BUILD STAGE ## diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 96520bb26a..ec64a1783b 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.21.3-bookworm' + - name: 'docker.io/library/golang:1.21.4-bookworm' id: cloudbuild-artifacts entrypoint: make env: