Files
oc-shared/Makefile

43 lines
849 B
Go
Raw Permalink Normal View History

.DEFAULT_GOAL := all
build: clean
bee pack
run:
bee run -gendoc=true -downdoc=true
2025-03-28 08:48:39 +01:00
purge:
lsof -t -i:8091 | xargs kill | true
run-dev:
bee generate routers && bee run -gendoc=true -downdoc=true -runmode=prod
dev: purge run-dev
2025-03-06 09:32:58 +01:00
debug:
bee run -downdebug -gendebug
clean:
rm -rf oc-shared.tar.gz
docker:
2025-06-16 09:18:53 +02:00
DOCKER_BUILDKIT=1 docker build -t oc-shared -f Dockerfile . --build-arg=HOST=$(HOST)
2026-02-09 09:48:51 +01:00
docker tag oc-shared opencloudregistry/oc-shared:latest
publish-kind:
2026-02-09 09:48:51 +01:00
kind load docker-image opencloudregistry/oc-shared:latest --name $(CLUSTER_NAME) | true
publish-registry:
2026-02-05 12:10:44 +01:00
docker push opencloudregistry/oc-shared:latest
2025-06-16 09:18:53 +02:00
docker-deploy:
docker compose up -d
run-docker: docker publish-kind publish-registry docker-deploy
2026-02-05 12:10:44 +01:00
all: docker publish-kind
ci: docker publish-registry
2025-03-28 08:48:39 +01:00
.PHONY: build run clean docker publish-kind publish-registry