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:
1 parent
b075e93319
commit
31a490bfe6
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user