diff --git a/Makefile b/Makefile index 0381c70..2a32e1b 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ tag_latest: docker tag $(NAME):$(VERSION) $(NAME):latest release: test tag_latest - @if ! docker images phusion/baseimage | awk '{ print $$2 }' | grep -q -F $(VERSION); then echo "$(NAME) version $(VERSION) is not yet built. Please run 'make build'"; false; fi + @if ! docker images $(NAME) | awk '{ print $$2 }' | grep -q -F $(VERSION); then echo "$(NAME) version $(VERSION) is not yet built. Please run 'make build'"; false; fi docker push $(NAME) @echo "*** Don't forget to create a tag. git tag rel-$(VERSION) && git push origin rel-$(VERSION)"