oc-auth/Makefile

41 lines
770 B
Makefile
Raw Normal View History

.DEFAULT_GOAL := all
build: clean
bee pack
run:
bee run -gendoc=true -downdoc=true
2025-04-01 10:16:26 +02:00
purge:
lsof -t -i:8094 | xargs kill | true
run-dev:
bee generate routers && bee run -gendoc=true -downdoc=true -runmode=prod
2025-03-06 09:46:13 +01:00
2025-04-01 10:16:26 +02:00
dev: purge run-dev
2025-03-06 09:46:13 +01:00
debug:
bee run -downdebug -gendebug
clean:
rm -rf oc-auth oc-auth.tar.gz
docker:
2025-06-16 09:11:21 +02:00
DOCKER_BUILDKIT=1 docker build -t oc-auth -f Dockerfile . --build-arg=HOST=$(HOST)
docker tag oc-auth:latest oc/oc-auth:0.0.1
publish-kind:
2025-06-16 09:11:21 +02:00
kind load docker-image oc/oc-auth:0.0.1 --name opencloud | true
publish-registry:
@echo "TODO"
2025-06-16 09:11:21 +02:00
docker-deploy:
docker compose up -d
run-docker: docker publish-kind publish-registry docker-deploy
all: docker publish-kind publish-registry
2025-04-01 10:16:26 +02:00
.PHONY: build run clean docker publish-kind publish-registry