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