diff options
author | 2024-03-07 11:23:13 -0800 | |
---|---|---|
committer | 2024-03-07 14:23:13 -0500 | |
commit | 5556180ac68675879503b1381eb6d80b62aeb1d7 (patch) | |
tree | 8ecba22a8db71e78b2ea1bff39bb73190ab27dce /Makefile.release | |
parent | b2defec33a757c4f929b3d3705c3ec71ef2872b1 (diff) | |
download | coredns-5556180ac68675879503b1381eb6d80b62aeb1d7.tar.gz coredns-5556180ac68675879503b1381eb6d80b62aeb1d7.tar.zst coredns-5556180ac68675879503b1381eb6d80b62aeb1d7.zip |
Repo controlled Go version (#6526)
* Repo controlled Go version
Signed-off-by: xdu31 <jasonxdu@amazon.com>
* Bump to go1.21.8 for CVE update
Signed-off-by: xdu31 <jasonxdu@amazon.com>
---------
Signed-off-by: xdu31 <jasonxdu@amazon.com>
Diffstat (limited to 'Makefile.release')
-rw-r--r-- | Makefile.release | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.release b/Makefile.release index f28a8ddcd..bc4108fd5 100644 --- a/Makefile.release +++ b/Makefile.release @@ -52,6 +52,10 @@ NAME:=coredns VERSION:=$(shell grep 'CoreVersion' coremain/version.go | awk '{ print $$3 }' | tr -d '"') GITHUB:=coredns LINUX_ARCH:=amd64 arm arm64 mips64le ppc64le s390x mips riscv64 +GOLANG_VERSION ?= $(shell cat .go-version) + +export GOSUMDB = sum.golang.org +export GOTOOLCHAIN = go$(GOLANG_VERSION) all: @echo Use the 'release' target to build a release |