From: Jérôme Benoit Date: Thu, 7 May 2020 18:46:30 +0000 (+0200) Subject: Docker: fix generated image tagging. X-Git-Tag: v1.0.1-0~332 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e0a7120807d9a7c657195cc81927dbb0b5a7e842;p=e-mobility-charging-stations-simulator.git Docker: fix generated image tagging. Signed-off-by: Jérôme Benoit --- diff --git a/docker/Makefile b/docker/Makefile index 2b58f2db..d3eefbc0 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -29,7 +29,7 @@ clean-containers: clean: clean-containers clean-images docker-tag-ecr: - docker tag $(PROJECT_NAME)_$(NAME):$(DOCKER_ECR_TAG) $(DOCKER_ECR_ACCOUNT_ID).dkr.ecr.$(DOCKER_ECR_REGION).amazonaws.com/$(DOCKER_ECR_REGISTRY_NAME):$(DOCKER_ECR_TAG) + docker tag $(PROJECT_NAME)_$(NAME) $(DOCKER_ECR_ACCOUNT_ID).dkr.ecr.$(DOCKER_ECR_REGION).amazonaws.com/$(DOCKER_ECR_REGISTRY_NAME):$(DOCKER_ECR_TAG) docker-push-ecr: $(NAME)-force docker-tag-ecr aws ecr get-login-password --region $(DOCKER_ECR_REGION) | docker login --username AWS --password-stdin $(DOCKER_ECR_ACCOUNT_ID).dkr.ecr.$(DOCKER_ECR_REGION).amazonaws.com/$(DOCKER_ECR_REGISTRY_NAME)