From a1663a3f318186831606276c235ee1d5ed14509c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Mon, 18 Jun 2018 17:36:30 +0200 Subject: [PATCH] Upload latest with version --- .makefiles/python.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.makefiles/python.mk b/.makefiles/python.mk index 3679d7b..23919a4 100644 --- a/.makefiles/python.mk +++ b/.makefiles/python.mk @@ -76,8 +76,9 @@ pip_upload: pip_test ## Upload package to pip push-latest: $(addprefix push-latest-,$(PYVERSIONS)) ## Push the "latest" tag to dockerhub docker tag '$(IMAGEWTAG)-python$(PYMAIN)' '$(IMAGEWTAG)' - docker tag '$(IMAGEWTAG)-python$(PYMAIN)' '$(IMAGENAME)' + docker tag '$(IMAGEWTAG)-python$(PYMAIN)' '$(IMAGENAME):latest' docker push '$(IMAGENAME):latest' + docker push '$(IMAGEWTAG)' push-latest-%: build-% ## Push the latest image for a specific python version docker tag $(IMAGENAME):$(VERSION)-python$* $(IMAGENAME):python$*