From e04262c8f11ea44787cca6ac270197a5217de51d Mon Sep 17 00:00:00 2001 From: Ross Bryan Date: Mon, 19 Feb 2024 16:42:24 -0500 Subject: [PATCH] chore: upgrade to go1.20 Signed-off-by: Ross Bryan --- Dockerfile | 2 +- Dockerfile.codegen | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3c50a6f..b146f9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.19 as builder +FROM --platform=$BUILDPLATFORM golang:1.20 as builder ARG TARGETOS TARGETARCH WORKDIR /workspace diff --git a/Dockerfile.codegen b/Dockerfile.codegen index 99953c9..c49af39 100644 --- a/Dockerfile.codegen +++ b/Dockerfile.codegen @@ -1,4 +1,4 @@ -FROM golang:1.19 +FROM golang:1.20 RUN go get -u k8s.io/code-generator || true && \ go get -u k8s.io/kube-openapi || true && \ diff --git a/go.mod b/go.mod index bc07498..785c5f5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/quay/container-security-operator -go 1.19 +go 1.20 require ( github.com/go-kit/kit v0.12.0