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$*