Skip to content

Commit

Permalink
Update go version to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
kl52752 committed May 13, 2024
1 parent f90ba1b commit 6a92f4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module k8s.io/dns

go 1.20
go 1.22

require (
github.com/coredns/caddy v1.1.1
Expand Down

1 comment on commit 6a92f4b

@jingyuanliang
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's don't use pinned version for easier routine bumping (e.g. golang:1.22-bookworm instead of golang:1.22.3-bookworm).

Please sign in to comment.