Makefile: Only push a tag if there is a .release file
Change-Id: I73b2ed5794c75d09b166bc65ac79b9cbe3764ad4changes/34/9434/1
parent
a2e28ef91f
commit
9b94c793be
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue