Skip to content

Commit bd0ed34

Browse files
committed
fix make publish
1 parent 47886f4 commit bd0ed34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ testdev: ## Run all tests on docker container timetracker_ui at the Dev
5050
docker exec timetracker_ui bash -c "npm run ci-test"
5151

5252
.PHONY: publish
53-
publish: require-acr-arg require-image_tag-arg ## Upload a docker image to the stage azure container registry acr=<name_of_the_azure_container_registry> image_tag=<tag_for_the_image>
54-
docker tag timetracker_ui:latest $(acr).azurecr.io/timetracker_ui:$(image_tag)
55-
docker push $(acr).azurecr.io/timetracker_ui:$(image_tag)
53+
publish: require-image_tag-arg ## Upload a docker image to the stage azure container registry acr=<name_of_the_azure_container_registry> image_tag=<tag_for_the_image>
54+
docker tag timetracker_ui:latest 568748651446.dkr.ecr.us-east-1.amazonaws.com/time-tracker/stage-ui:$(image_tag)
55+
docker push 568748651446.dkr.ecr.us-east-1.amazonaws.com/time-tracker/stage-ui:$(image_tag)
5656

5757
.PHONY: build_prod
5858
build_prod: ## Create docker image with dependencies needed for production -- to test locally only

0 commit comments

Comments
 (0)