From edc21aca15f1c93219ab8c06327bc9a8dbcc724f Mon Sep 17 00:00:00 2001 From: Michelle Noorali Date: Mon, 7 Mar 2016 17:01:30 -0700 Subject: [PATCH] fix(*): verify $DOCKER_PROJECT is set if using gcr --- rootfs/include.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rootfs/include.mk b/rootfs/include.mk index a7e3948d2..00e057853 100644 --- a/rootfs/include.mk +++ b/rootfs/include.mk @@ -63,7 +63,9 @@ container: .project .docker binary extras .project: ifeq ($(DOCKER_REGISTRY), gcr.io) - $(error "One or both of DOCKER_REGISTRY and DOCKER_PROJECT must be set.") +ifeq ($(DOCKER_PROJECT),) + $(error "Both DOCKER_REGISTRY and DOCKER_PROJECT must be set.") +endif endif .docker: