From 17efa19909e3d88a430b271238d5bf748e70da04 Mon Sep 17 00:00:00 2001 From: JUSTIN EYSTER Date: Mon, 21 Jun 2021 12:11:12 -0400 Subject: [PATCH] Remove registry url from Dockerhub path (#447) Supports https://github.ibm.com/river/river/issues/614#issuecomment-32356361 --- Makefile.ibm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.ibm b/Makefile.ibm index 728a97e96..abad4d347 100644 --- a/Makefile.ibm +++ b/Makefile.ibm @@ -85,8 +85,8 @@ docker-publish-images: docker-login docker-publish-image: ifeq ($(DOCKER_REGISTRY), $(DOCKER_REGISTRY_DOCKERHUB)) - docker tag $(DOCKER_DOMAIN_LOCAL)/$(IMAGE_NAME) $(DOCKER_REGISTRY)/$(DOCKERHUB_DOMAIN)/$(IMAGE_NAME):$(IMAGE_TAG) - docker push $(DOCKER_REGISTRY)/$(DOCKERHUB_DOMAIN)/$(IMAGE_NAME):$(IMAGE_TAG) + docker tag $(DOCKER_DOMAIN_LOCAL)/$(IMAGE_NAME) $(DOCKERHUB_DOMAIN)/$(IMAGE_NAME):$(IMAGE_TAG) + docker push $(DOCKERHUB_DOMAIN)/$(IMAGE_NAME):$(IMAGE_TAG) else docker tag $(DOCKER_DOMAIN_LOCAL)/$(IMAGE_NAME) $(DOCKER_REGISTRY)/$(DOCKER_DOMAIN)/$(IMAGE_NAME):$(IMAGE_TAG) docker push $(DOCKER_REGISTRY)/$(DOCKER_DOMAIN)/$(IMAGE_NAME):$(IMAGE_TAG)