Bump go to v1.21.6 and set a single source of truth (#10926)
This commit is contained in:
parent
02e6ebc95a
commit
5acc4230ee
24 changed files with 166 additions and 50 deletions
|
|
@ -23,6 +23,8 @@ INIT_BUILDX=$(DIR)/../hack/init-buildx.sh
|
|||
|
||||
BASE_IMAGE = $(shell cat $(DIR)/../NGINX_BASE)
|
||||
|
||||
GOLANG_VERSION = $(shell cat $(DIR)/../GOLANG_VERSION)
|
||||
|
||||
REGISTRY ?= local
|
||||
NAME ?=
|
||||
|
||||
|
|
@ -52,6 +54,7 @@ build: precheck ensure-buildx
|
|||
--label=org.opencontainers.image.licenses=Apache-2.0 \
|
||||
--label=org.opencontainers.image.description="Ingress NGINX $(NAME) image" \
|
||||
--build-arg BASE_IMAGE=$(BASE_IMAGE) \
|
||||
--build-arg GOLANG_VERSION=$(GOLANG_VERSION) \
|
||||
--platform=${PLATFORMS} $(OUTPUT) \
|
||||
--progress=$(PROGRESS) \
|
||||
--pull $(EXTRAARGS) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue