Makefile: Only push a tag if there is a .release file

Change-Id: I73b2ed5794c75d09b166bc65ac79b9cbe3764ad4
This commit is contained in:
Harald Welte 2018-06-03 15:40:12 +00:00
parent a2e28ef91f
commit 9b94c793be
1 changed files with 1 additions and 1 deletions

View File

@ -66,8 +66,8 @@ release: check-status check-release build push
push: do-push post-push
do-push:
docker push $(IMAGE):$(VERSION)
docker push $(IMAGE):latest
[ -f .release ] && docker push $(IMAGE):$(VERSION)
snapshot: build push