Docker: fix generated image tagging.
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 7 May 2020 18:46:30 +0000 (20:46 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 7 May 2020 18:46:30 +0000 (20:46 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
docker/Makefile

index 2b58f2db5ca65bd66cd9312701d44c7beba53d5e..d3eefbc01330c2219f9bb6267d57619186f307cc 100644 (file)
@@ -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)