Makefile: Only push a tag if there is a .release file
Change-Id: I73b2ed5794c75d09b166bc65ac79b9cbe3764ad4
This commit is contained in:
parent
a2e28ef91f
commit
9b94c793be
|
@ -66,8 +66,8 @@ release: check-status check-release build push
|
||||||
push: do-push post-push
|
push: do-push post-push
|
||||||
|
|
||||||
do-push:
|
do-push:
|
||||||
docker push $(IMAGE):$(VERSION)
|
|
||||||
docker push $(IMAGE):latest
|
docker push $(IMAGE):latest
|
||||||
|
[ -f .release ] && docker push $(IMAGE):$(VERSION)
|
||||||
|
|
||||||
snapshot: build push
|
snapshot: build push
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue