Files
oc-auth/Makefile

43 lines
846 B
Go
Raw Permalink 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)
2026-02-09 09:42:19 +01:00
docker tag oc-auth opencloudregistry/oc-auth:latest
2026-02-05 11:55:09 +01:00
publish-kind:
2026-02-09 09:42:19 +01:00
kind load docker-image opencloudregistry/oc-auth:latest --name $(CLUSTER_NAME) | true
publish-registry:
2026-02-05 11:55:09 +01:00
docker push opencloudregistry/oc-auth:latest
2025-06-16 09:11:21 +02:00
docker-deploy:
docker compose up -d
run-docker: docker publish-kind publish-registry docker-deploy
2026-02-05 11:59:43 +01:00
all: docker publish-kind
2026-02-05 12:01:17 +01:00
ci: docker publish-registry
2025-04-01 10:16:26 +02:00
.PHONY: build run clean docker publish-kind publish-registry