mirror of
https://github.com/coredns/coredns.git
synced 2026-07-10 09:40:12 -04:00
Populating errors from all Makefile (#8268)
THis PR populating errors from all Makefile, so any PR test can be fully checked correctly. See #8265 for releated issue Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -12,6 +12,8 @@ GOLANG_VERSION ?= $(shell cat .go-version)
|
||||
STRIP_FLAGS?=-s -w
|
||||
LDFLAGS?=-ldflags="$(STRIP_FLAGS) -X github.com/coredns/coredns/coremain.GitCommit=$(GITCOMMIT)"
|
||||
|
||||
.SHELLFLAGS := -e -c
|
||||
|
||||
export GOSUMDB = sum.golang.org
|
||||
export GOTOOLCHAIN = go$(GOLANG_VERSION)
|
||||
|
||||
|
||||
@@ -10,6 +10,8 @@ READMES:=$(subst /README.md,,$(READMES))
|
||||
PLUGINS:=$(subst plugin/,coredns-,$(PLUGINS))
|
||||
PLUGINS:=$(subst /README.md,(7),$(PLUGINS))
|
||||
|
||||
.SHELLFLAGS := -e -c
|
||||
|
||||
all: mmark man/coredns.1 man/corefile.5 plugins
|
||||
|
||||
GO ?= go
|
||||
|
||||
@@ -36,6 +36,8 @@ LINUX_ARCH:=amd64 arm arm64 mips64le ppc64le s390x riscv64 loong64
|
||||
DOCKER_IMAGE_NAME:=$(DOCKER)/$(NAME)
|
||||
DOCKER_IMAGE_LIST_VERSIONED:=$(shell echo $(LINUX_ARCH) | sed -e "s~mips64le ~~g" | sed -e "s~[^ ]*~$(DOCKER_IMAGE_NAME):&\-$(VERSION)~g")
|
||||
|
||||
.SHELLFLAGS := -e -c
|
||||
|
||||
all:
|
||||
@echo Use the 'release' target to download released binaries and build containers per arch, 'docker-push' to build and push a multi arch manifest.
|
||||
echo $(DOCKER_IMAGE_LIST_VERSIONED)
|
||||
|
||||
Reference in New Issue
Block a user