You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
708 B
Makefile

REGISTRY_NAME=registry.runcible.io
FRONTEND_IMAGE_NAME=$(REGISTRY_NAME)/demo-helm-frontend
FRONTEND_IMAGE_VERSION=1.1.0
BACKEND_IMAGE_NAME=$(REGISTRY_NAME)/demo-helm-backend
BACKEND_IMAGE_VERSION=1.1.0
push-app-image: build-app-image
docker push $(FRONTEND_IMAGE_NAME):$(FRONTEND_IMAGE_VERSION)
build-app-image:
docker build -t $(FRONTEND_IMAGE_NAME):$(FRONTEND_IMAGE_VERSION) ./app/app
push-backend-image: build-backend-image
docker push $(BACKEND_IMAGE_NAME):$(BACKEND_IMAGE_VERSION)
build-backend-image:
docker build -t $(BACKEND_IMAGE_NAME):$(BACKEND_IMAGE_VERSION) ./app/backend
check:
echo $(FRONTEND_IMAGE_NAME):$(FRONTEND_IMAGE_VERSION)
echo $(BACKEND_IMAGE_NAME):$(BACKEND_IMAGE_VERSION)