fix: prefix image with registry when checking for its presence

This commit is contained in:
Paolo Cuffiani
2022-04-21 18:53:15 +02:00
parent 3cdbe1b738
commit d586c7a2bc
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ build:
test:
@echo -e "=====> Testing loaded extensions... \c"
@if [[ -z `docker image ls $(IMAGE) | grep "\s$(VERSION)\s"` ]]; then \
@if [[ -z `docker image ls $(REGISTRY)$(IMAGE) | grep "\s$(VERSION)\s"` ]]; then \
echo 'FAIL [Missing image!!!]'; \
exit 1; \
fi