X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docker%2FMakefile;h=b3a9d54bf7bc594945a7a0467fd84246291709f7;hb=051963ac395e88f44dfdf7cad4a216aa801a0348;hp=8b02c4fe42b68681d09455997e2ea9d876d5274f;hpb=bfcad885f450fc3e933fa1e849473cde43d8e40d;p=e-mobility-charging-stations-simulator.git diff --git a/docker/Makefile b/docker/Makefile index 8b02c4fe..b3a9d54b 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -1,9 +1,9 @@ PROJECT_NAME?=evse -NAME:=simulator +NAME:=e-mobility-charging-stations-simulator SUBMODULES_INIT?=false DOCKER_ECR_ACCOUNT_ID?=166296450311 DOCKER_ECR_REGION?=eu-west-3 -DOCKER_ECR_REGISTRY_NAME?=ev_simulator +DOCKER_ECR_REGISTRY_NAME?=e-mobility-charging-stations-simulator DOCKER_ECR_TAG?=latest .PHONY: all @@ -35,7 +35,7 @@ clean-containers: clean: clean-containers clean-images docker-tag-ecr: - docker tag $(PROJECT_NAME)_$(NAME) $(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)