fix(*): verify $DOCKER_PROJECT is set if using gcr

pull/349/head
Michelle Noorali 9 years ago
parent 9556d4ca8b
commit edc21aca15

@ -63,7 +63,9 @@ container: .project .docker binary extras
.project: .project:
ifeq ($(DOCKER_REGISTRY), gcr.io) 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 endif
.docker: .docker:

Loading…
Cancel
Save