fix: test-runner prow build
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
This commit is contained in:
parent
1c03a88661
commit
423008b752
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,7 @@ REGISTRY ?= local
|
||||||
|
|
||||||
IMAGE = $(REGISTRY)/e2e-test-runner
|
IMAGE = $(REGISTRY)/e2e-test-runner
|
||||||
|
|
||||||
NGINX_BASE_IMAGE ?= $(shell cat $(DIR)/../../NGINX_BASE)
|
NGINX_BASE_IMAGE ?= $(shell cat $(DIR)/../../NGINX_BASE || echo "/home/prow/go/src/github.com/kubernetes/ingress-nginx/NGINX_BASE")
|
||||||
|
|
||||||
# required to enable buildx
|
# required to enable buildx
|
||||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
export DOCKER_CLI_EXPERIMENTAL=enabled
|
||||||
|
@ -34,6 +34,8 @@ OUTPUT=
|
||||||
PROGRESS=plain
|
PROGRESS=plain
|
||||||
|
|
||||||
build: ensure-buildx
|
build: ensure-buildx
|
||||||
|
echo $(NGINX_BASE_IMAGE)
|
||||||
|
pwd
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform=${PLATFORMS} $(OUTPUT) \
|
--platform=${PLATFORMS} $(OUTPUT) \
|
||||||
--progress=$(PROGRESS) \
|
--progress=$(PROGRESS) \
|
||||||
|
|
Loading…
Reference in a new issue