From 90dbeb620a701c35e20ecf46d9a067a8dfccf666 Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Wed, 25 Sep 2024 11:22:52 -0500 Subject: [PATCH] update golang from 1.22.5 to 1.22.7 --- .ko.yaml | 2 +- Dockerfile | 4 ++-- cloudbuild.yaml | 2 +- go.mod | 2 +- tests/e2e/go.mod | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.ko.yaml b/.ko.yaml index 2585f7a36c..250890ba16 100644 --- a/.ko.yaml +++ b/.ko.yaml @@ -1 +1 @@ -defaultBaseImage: registry.k8s.io/build-image/go-runner:v2.3.1-go1.22.5-bookworm.0 +defaultBaseImage: registry.k8s.io/build-image/go-runner:v2.3.1-go1.22.7-bookworm.0 diff --git a/Dockerfile b/Dockerfile index fba4a82dca..46399596fa 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.22.5 +ARG GOLANG_IMAGE=golang:1.22.7 # The distroless image on which the CPI manager image is built. # @@ -22,7 +22,7 @@ ARG GOLANG_IMAGE=golang:1.22.5 # 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.22.5-bookworm.0 +ARG DISTROLESS_IMAGE=registry.k8s.io/build-image/go-runner:v2.3.1-go1.22.7-bookworm.0 ################################################################################ ## BUILD STAGE ## diff --git a/cloudbuild.yaml b/cloudbuild.yaml index fa8d449e4d..2a8911b62d 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.22.5-bookworm' + - name: 'docker.io/library/golang:1.22.7-bookworm' id: cloudbuild-artifacts entrypoint: make env: diff --git a/go.mod b/go.mod index 4c77a25f1f..8f954f1deb 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module k8s.io/cloud-provider-aws -go 1.22.5 +go 1.22.7 require ( github.com/aws/aws-sdk-go v1.55.5 diff --git a/tests/e2e/go.mod b/tests/e2e/go.mod index 262cf5808c..cdd3e94b4b 100644 --- a/tests/e2e/go.mod +++ b/tests/e2e/go.mod @@ -1,6 +1,6 @@ module k8s.io/cloud-provider-aws/tests/e2e -go 1.22.5 +go 1.22.7 require ( github.com/onsi/ginkgo/v2 v2.9.4