1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

Update Makefile

This commit is contained in:
Dung Quang 2014-03-19 09:14:34 +07:00
parent fd8a1273ad
commit ed89f20836

View File

@ -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)"