From 4bbc7718dad4e64c6849d23734239fd6a0aabf65 Mon Sep 17 00:00:00 2001 From: Markus Blaschke Date: Sat, 17 Feb 2024 19:28:00 +0100 Subject: [PATCH] switch to golang 1.22 Signed-off-by: Markus Blaschke --- Dockerfile | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 32c145e..26d1fe4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ############################################# # Build ############################################# -FROM --platform=$BUILDPLATFORM golang:1.20-alpine as build +FROM --platform=$BUILDPLATFORM golang:1.22-alpine as build RUN apk upgrade --no-cache --force RUN apk add --update build-base make git diff --git a/go.mod b/go.mod index c63fb6d..365d0f6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/webdevops/kube-pool-manager -go 1.21 +go 1.22 toolchain go1.22.0