From 335127f07445d15d6249276e09c50e01666b4d81 Mon Sep 17 00:00:00 2001 From: Cloud Deploy Team Date: Thu, 9 Apr 2026 13:31:24 -0700 Subject: [PATCH] * fix: Upgrade go version PiperOrigin-RevId: 897275690 --- custom-targets/git-ops/git-deployer/Dockerfile | 2 +- custom-targets/helm/helm-deployer/Dockerfile | 2 +- custom-targets/terraform/terraform-deployer/Dockerfile | 2 +- custom-targets/vertex-ai-pipeline/pipeline-deployer/Dockerfile | 2 +- custom-targets/vertex-ai/model-deployer/Dockerfile | 2 +- go.mod | 2 +- postdeploy-hooks/k8s-cleanup/Dockerfile | 2 +- verify-evaluate-cloud-metrics/Dockerfile | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/custom-targets/git-ops/git-deployer/Dockerfile b/custom-targets/git-ops/git-deployer/Dockerfile index 79acc23..f95e600 100644 --- a/custom-targets/git-ops/git-deployer/Dockerfile +++ b/custom-targets/git-ops/git-deployer/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. ARG GCLOUD_VERSION=456.0.0 -ARG GO_VERSION=1.24 +ARG GO_VERSION=1.25 FROM golang:${GO_VERSION} AS go-build ARG COMMIT_SHA=unknown diff --git a/custom-targets/helm/helm-deployer/Dockerfile b/custom-targets/helm/helm-deployer/Dockerfile index ba087a5..6e6814e 100644 --- a/custom-targets/helm/helm-deployer/Dockerfile +++ b/custom-targets/helm/helm-deployer/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. ARG GCLOUD_VERSION=456.0.0 -ARG GO_VERSION=1.24 +ARG GO_VERSION=1.25 ARG HELM_VERSION=3.13.2 FROM golang:${GO_VERSION} AS go-build diff --git a/custom-targets/terraform/terraform-deployer/Dockerfile b/custom-targets/terraform/terraform-deployer/Dockerfile index d365844..866b5d0 100644 --- a/custom-targets/terraform/terraform-deployer/Dockerfile +++ b/custom-targets/terraform/terraform-deployer/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -ARG GO_VERSION=1.24 +ARG GO_VERSION=1.25 ARG TERRAFORM_VERSION=1.2.3 FROM golang:${GO_VERSION} AS go-build diff --git a/custom-targets/vertex-ai-pipeline/pipeline-deployer/Dockerfile b/custom-targets/vertex-ai-pipeline/pipeline-deployer/Dockerfile index cd6004f..46b0486 100644 --- a/custom-targets/vertex-ai-pipeline/pipeline-deployer/Dockerfile +++ b/custom-targets/vertex-ai-pipeline/pipeline-deployer/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -ARG GO_VERSION=1.24 +ARG GO_VERSION=1.25 FROM golang:${GO_VERSION} AS go-build ARG COMMIT_SHA=unknown diff --git a/custom-targets/vertex-ai/model-deployer/Dockerfile b/custom-targets/vertex-ai/model-deployer/Dockerfile index 8321dfb..b1777c0 100644 --- a/custom-targets/vertex-ai/model-deployer/Dockerfile +++ b/custom-targets/vertex-ai/model-deployer/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -ARG GO_VERSION=1.24 +ARG GO_VERSION=1.25 FROM golang:${GO_VERSION} AS go-build ARG COMMIT_SHA=unknown diff --git a/go.mod b/go.mod index 3af3e3c..d97dc40 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/GoogleCloudPlatform/cloud-deploy-samples -go 1.24.4 +go 1.25.9 require ( cloud.google.com/go/config v1.4.0 diff --git a/postdeploy-hooks/k8s-cleanup/Dockerfile b/postdeploy-hooks/k8s-cleanup/Dockerfile index 7bd5a2b..006b760 100644 --- a/postdeploy-hooks/k8s-cleanup/Dockerfile +++ b/postdeploy-hooks/k8s-cleanup/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. ARG GCLOUD_VERSION=506.0.0 -ARG GO_VERSION=1.24 +ARG GO_VERSION=1.25 FROM golang:${GO_VERSION} AS build WORKDIR /cleanup diff --git a/verify-evaluate-cloud-metrics/Dockerfile b/verify-evaluate-cloud-metrics/Dockerfile index 58584b2..f8d67a1 100644 --- a/verify-evaluate-cloud-metrics/Dockerfile +++ b/verify-evaluate-cloud-metrics/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.24 AS build +FROM golang:1.25 AS build WORKDIR /verify COPY go.mod go.sum ./ COPY verify-evaluate-cloud-metrics/*.go ./verify-evaluate-cloud-metrics/