Make sure to check for the image that comes from the SUPERVISOR_REGISTRY, rather than just any image with the same name.

This commit is contained in:
Pagan Gazzard 2014-07-18 14:58:49 +01:00 committed by Pablo Carranza Vélez
parent d18b137030
commit 0256e18bbf

View File

@ -14,7 +14,7 @@ BUILDSTEP_REPO = resin/rpi-buildstep-armv6hf
all: supervisor
BUILDSTEP_PRESENT = $(shell docker images | grep $(BUILDSTEP_VERSION) | awk '{print $$1}' | grep -xF $(BUILDSTEP_REPO) )
BUILDSTEP_PRESENT = $(shell docker images --all | grep $(BUILDSTEP_VERSION) | awk '{print $$1}' | grep -xF $(BUILDSTEP_REGISTRY)/$(BUILDSTEP_REPO) )
supervisor:
ifneq ($(BUILDSTEP_PRESENT) , )