Update Docker image variable name
This commit is contained in:
parent
730398421a
commit
c9b824cb40
10
Makefile
10
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: *
|
||||
|
||||
|
|
Loading…
Reference in a new issue