From c46a470fd9af1c82e7d71e164a82f958cb380f64 Mon Sep 17 00:00:00 2001 From: Zoran Regvart Date: Mon, 14 Oct 2024 15:28:44 +0200 Subject: [PATCH] Update to golang 1.22.7 --- .tool-versions | 2 +- Dockerfile | 2 +- Dockerfile.dist | 2 +- acceptance/go.mod | 2 +- go.mod | 2 +- tools/go.mod | 2 +- tools/kubectl/go.mod | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.tool-versions b/.tool-versions index 009efa3da..abc6fef41 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -golang 1.22.5 +golang 1.22.7 diff --git a/Dockerfile b/Dockerfile index cd8481f75..5344d9585 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ ## Build -FROM docker.io/library/golang:1.22 AS build +FROM docker.io/library/golang:1.22.7 AS build ARG TARGETOS ARG TARGETARCH diff --git a/Dockerfile.dist b/Dockerfile.dist index 05a1858c2..f72e874da 100644 --- a/Dockerfile.dist +++ b/Dockerfile.dist @@ -18,7 +18,7 @@ # Ideally, use the official image from Red Hat, e.g. registry.access.redhat.com/ubi9/go-toolset, # but a 1.22 release does not yet exist. -FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.22@sha256:859b38e6f53f49350402ca0a8dc342402f0afd8434c2f8984a7a3e714173cdca AS build +FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.22.7@sha256:376dd8d1291580a32824c7a072b72e1dce524bb9d300393b656931ba6156b86d AS build ARG TARGETOS ARG TARGETARCH diff --git a/acceptance/go.mod b/acceptance/go.mod index 20c474b73..45868d272 100644 --- a/acceptance/go.mod +++ b/acceptance/go.mod @@ -1,6 +1,6 @@ module github.com/enterprise-contract/ec-cli/acceptance -go 1.22.5 +go 1.22.7 require ( cuelang.org/go v0.10.0 diff --git a/go.mod b/go.mod index db7a34ceb..495af99cc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/enterprise-contract/ec-cli -go 1.22.5 +go 1.22.7 require ( cuelang.org/go v0.10.0 diff --git a/tools/go.mod b/tools/go.mod index d65e7c96a..8403d9aff 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module github.com/enterprise-contract/ec-cli/tools -go 1.22.5 +go 1.22.7 require ( github.com/daixiang0/gci v0.13.5 diff --git a/tools/kubectl/go.mod b/tools/kubectl/go.mod index 91adc5430..aa8778a85 100644 --- a/tools/kubectl/go.mod +++ b/tools/kubectl/go.mod @@ -1,6 +1,6 @@ module github.com/enterprise-contract/ec-cli/tools/kubectl -go 1.22.5 +go 1.22.7 require k8s.io/kubernetes v1.31.1