Skip to content

Commit

Permalink
fix: test-runner prow build
Browse files Browse the repository at this point in the history
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
  • Loading branch information
tao12345666333 committed Jul 24, 2022
1 parent 1c03a88 commit 423008b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion images/test-runner/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ REGISTRY ?= local

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
export DOCKER_CLI_EXPERIMENTAL=enabled
Expand All @@ -34,6 +34,8 @@ OUTPUT=
PROGRESS=plain

build: ensure-buildx
echo $(NGINX_BASE_IMAGE)
pwd
docker buildx build \
--platform=${PLATFORMS} $(OUTPUT) \
--progress=$(PROGRESS) \
Expand Down

0 comments on commit 423008b

Please sign in to comment.