From 3a8ee557212702f089fbd19a6587e3c4d4dc7850 Mon Sep 17 00:00:00 2001 From: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com> Date: Wed, 11 Sep 2024 14:20:48 -0400 Subject: [PATCH] Update to Go v1.22 ref: https://issues.redhat.com/browse/ACM-14251 Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com> --- build/Dockerfile | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index e6d59724..a7754eac 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,7 +1,7 @@ # Copyright Contributors to the Open Cluster Management project # Stage 1: Use image builder to build the target binaries -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=config-policy-controller ENV REPO_PATH=/go/src/github.com/open-cluster-management/${COMPONENT} diff --git a/go.mod b/go.mod index fb211c8d..d8f38513 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module open-cluster-management.io/config-policy-controller -go 1.21 +go 1.22 require ( github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32