From 2c5becc85e64094a72568ad78dd2c5a961fdf213 Mon Sep 17 00:00:00 2001 From: Xabier Larrakoetxea Date: Sat, 31 Aug 2024 08:54:12 +0200 Subject: [PATCH] Update to go 1.23 Signed-off-by: Xabier Larrakoetxea --- _example/Makefile | 2 +- docker/dev/Dockerfile | 2 +- docker/prod/Dockerfile | 4 ++-- go.mod | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_example/Makefile b/_example/Makefile index cd9c409..3262f95 100644 --- a/_example/Makefile +++ b/_example/Makefile @@ -1,4 +1,4 @@ -IMAGE := ghcr.io/slok/kube-code-generator:v0.2.0-amd64 +IMAGE := ghcr.io/slok/kube-code-generator:v0.3.0-amd64 DIRECTORY := $(PWD) DEPS_CMD := go mod tidy diff --git a/docker/dev/Dockerfile b/docker/dev/Dockerfile index 13f24e2..642eb2c 100644 --- a/docker/dev/Dockerfile +++ b/docker/dev/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22 +FROM golang:1.23 ARG GOLANGCI_LINT_VERSION="1.60.3" ARG MOCKERY_VERSION="2.45.0" diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index 109de1b..feb8662 100644 --- a/docker/prod/Dockerfile +++ b/docker/prod/Dockerfile @@ -1,7 +1,7 @@ # Set also `ARCH` ARG here so we can use it on all the `FROM`s. ARG ARCH -FROM golang:1.22 as build-stage +FROM golang:1.23 as build-stage # Required by the built script for setting verion and cross-compiling. ARG VERSION @@ -14,7 +14,7 @@ WORKDIR /src COPY . . RUN ./scripts/build/bin/build-raw.sh -FROM golang:1.22 +FROM golang:1.23 ARG CODEGEN_VERSION="1.31.0" ARG CONTROLLER_GEN_VERSION="0.16.2" diff --git a/go.mod b/go.mod index 8475b5c..bb2d9c6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/slok/kube-code-generator -go 1.22.0 +go 1.23.0 require ( github.com/alecthomas/kingpin/v2 v2.4.0