ensure that make publish publishes up-to-date images

otherwise the git revision based image tag doesn't match what is in
the image.
This commit is contained in:
Matthias Radestock committed 2015-08-21 09:34:08 +01:00
1 parent b075e93319
commit 31a490bfe6
1 file changed
+1 -1
+1 -1
View File
@@ -105,7 +105,7 @@ $(DOCKER_DISTRIB):
tests: $(COVER_EXE)
@test/units.sh
$(PUBLISH): publish_%:
$(PUBLISH): publish_%: $(IMAGES_UPTODATE)
$(SUDO) docker tag -f $(DOCKERHUB_USER)/$* $(DOCKERHUB_USER)/$*:$(WEAVE_VERSION)
$(SUDO) docker push $(DOCKERHUB_USER)/$*:$(WEAVE_VERSION)
$(SUDO) docker push $(DOCKERHUB_USER)/$*:latest