From 6a92f4ba4d54a1b683cc59957213f8e1a268d720 Mon Sep 17 00:00:00 2001 From: Katarzyna Lach Date: Mon, 13 May 2024 11:54:51 +0000 Subject: [PATCH] Update go version to 1.22 --- Makefile | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 52db01fde..30c6077dc 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ REGISTRY ?= gcr.io/k8s-staging-dns # Default architecture to build for. ARCH ?= amd64 # Image to use for building. -BUILD_IMAGE ?= golang:1.21-bookworm +BUILD_IMAGE ?= golang:1.22.3-bookworm # Containers will be named: $(CONTAINER_PREFIX)-$(BINARY)-$(ARCH):$(VERSION) CONTAINER_PREFIX ?= k8s-dns # Caching for go builds, disabled for CI diff --git a/go.mod b/go.mod index e82b8748c..30e637afb 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module k8s.io/dns -go 1.20 +go 1.22 require ( github.com/coredns/caddy v1.1.1