mirror of
/repos/baseimage-docker.git
synced 2025-12-30 08:01:31 +01:00
'make release' should warn if main image not yet build
This commit is contained in:
parent
91907f043c
commit
941ba8947e
1
Makefile
1
Makefile
@ -12,5 +12,6 @@ tag_latest:
|
||||
docker tag $(NAME):$(VERSION) $(NAME):latest
|
||||
|
||||
release: 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
|
||||
docker push $(NAME)
|
||||
@echo "*** Don't forget to create a tag. git tag rel-$(VERSION) && git push origin rel-$(VERSION)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user