From 8cad15c5c049c360c2bb6ccfe76a7aa3ff6c97dd Mon Sep 17 00:00:00 2001 From: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com> Date: Wed, 11 Sep 2024 14:38:33 -0400 Subject: [PATCH] [release-2.8] Update to Go v1.22 ref: https://issues.redhat.com/browse/ACM-14251 Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com> --- .ci-operator.yaml | 2 +- build/Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci-operator.yaml b/.ci-operator.yaml index 7ff1acc5..30e41eb6 100644 --- a/.ci-operator.yaml +++ b/.ci-operator.yaml @@ -1,4 +1,4 @@ build_root_image: name: builder namespace: stolostron - tag: go1.21-linux + tag: go1.22-linux diff --git a/build/Dockerfile b/build/Dockerfile index bc5cdf91..c99ad231 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,7 +1,7 @@ # Stage 1: Use image builder to build the target binaries # Copyright Contributors to the Open Cluster Management project -FROM registry.ci.openshift.org/stolostron/builder:go1.21-linux AS builder +FROM registry.ci.openshift.org/stolostron/builder:go1.22-linux AS builder ENV COMPONENT=governance-policy-propagator ENV REPO_PATH=/go/src/github.com/stolostron/${COMPONENT} diff --git a/go.mod b/go.mod index 8e5882b6..6c2a5191 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module open-cluster-management.io/governance-policy-propagator -go 1.21 +go 1.22 require ( github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32