From 423008b75282616413b743321d60d3a9557a570e Mon Sep 17 00:00:00 2001 From: Jintao Zhang Date: Sun, 24 Jul 2022 23:56:24 +0800 Subject: [PATCH] fix: test-runner prow build Signed-off-by: Jintao Zhang --- images/test-runner/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/images/test-runner/Makefile b/images/test-runner/Makefile index 0f2b72bad4..c102f914e5 100644 --- a/images/test-runner/Makefile +++ b/images/test-runner/Makefile @@ -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 @@ -34,6 +34,8 @@ OUTPUT= PROGRESS=plain build: ensure-buildx + echo $(NGINX_BASE_IMAGE) + pwd docker buildx build \ --platform=${PLATFORMS} $(OUTPUT) \ --progress=$(PROGRESS) \