From c9b824cb404abf57fb545f0f7ccb854c10db0b31 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 16 Jul 2021 12:49:42 +0100 Subject: [PATCH] Update Docker image variable name --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 84f18e45..8f7d023c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ COMPOSE_PROJECT_NAME?=oliverdavies-uk -DOCKER_IMAGE_NAME:=ghcr.io/opdavies/$(COMPOSE_PROJECT_NAME)-web +DOCKER_WEB_IMAGE_NAME:=ghcr.io/opdavies/$(COMPOSE_PROJECT_NAME)-web assets-watch: npm ci @@ -8,8 +8,8 @@ assets-watch: build-images: docker image build . \ --file tools/docker/images/Dockerfile \ - --tag $(DOCKER_IMAGE_NAME):$(DOCKER_TAG) \ - --tag $(DOCKER_IMAGE_NAME):latest \ + --tag $(DOCKER_WEB_IMAGE_NAME):$(DOCKER_TAG) \ + --tag $(DOCKER_WEB_IMAGE_NAME):latest \ --target=production deploy: @@ -28,8 +28,8 @@ ps: COMPOSE_PROJECT_NAME=$(COMPOSE_PROJECT_NAME) docker-compose ps push-images: - docker image push $(DOCKER_IMAGE_NAME):$(DOCKER_TAG) - docker image push $(DOCKER_IMAGE_NAME):latest + docker image push $(DOCKER_WEB_IMAGE_NAME):$(DOCKER_TAG) + docker image push $(DOCKER_WEB_IMAGE_NAME):latest .PHONY: *