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.
28 lines
872 B
Makefile
28 lines
872 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-dev
|
|
|
|
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
|
|
|
|
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) ./backend
|
|
|
|
update-backend-deps:
|
|
pip-compile -o backend/requirements.txt backend/requirements.in
|
|
|
|
sync-virtualenv:
|
|
pip-sync dev_requirements.txt backend/requirements.txt
|
|
|
|
check-images:
|
|
echo $(FRONTEND_IMAGE_NAME):$(FRONTEND_IMAGE_VERSION)
|
|
echo $(BACKEND_IMAGE_NAME):$(BACKEND_IMAGE_VERSION)
|