mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 23:42:29 +00:00
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:
parent
d18b137030
commit
0256e18bbf
2
Makefile
2
Makefile
@ -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) , )
|
||||
|
Loading…
Reference in New Issue
Block a user