From 61538db6ca75e6fcf30720c34579d3c5ad83de07 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Thu, 25 Jun 2020 13:23:49 -0400 Subject: [PATCH] Test trigger of cloudbuild for nginx image --- images/nginx/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/images/nginx/Makefile b/images/nginx/Makefile index f4369db6e..6766b465a 100644 --- a/images/nginx/Makefile +++ b/images/nginx/Makefile @@ -17,6 +17,8 @@ # set default shell SHELL=/bin/bash +DIR:=$(strip $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))) + # 0.0.0 shouldn't clobber any released builds TAG ?= 0.106 REGISTRY ?= quay.io/kubernetes-ingress-controller @@ -43,6 +45,6 @@ push: build # enable buildx ensure-buildx: - ./../../hack/init-buildx.sh + $(DIR)/../../hack/init-buildx.sh .PHONY: build push ensure-buildx