Some modifications for k8s integration and better building

This commit is contained in:
plm
2025-01-10 16:42:52 +01:00
parent 4b8f129564
commit e4dd6d49d4
6 changed files with 64 additions and 93 deletions

27
Makefile Normal file
View File

@@ -0,0 +1,27 @@
.DEFAULT_GOAL := all
build: clean
bee pack
run:
bee run -gendoc=true -downdoc=true
debug:
bee run -downdebug -gendebug
clean:
rm -rf oc-catalog.tar.gz
docker:
DOCKER_BUILDKIT=1 docker build -t oc/oc-catalog:0.0.1 -f Dockerfile .
docker tag oc/oc-catalog:0.0.1 oc/oc-catalog:latest
publish-kind:
kind load docker-image oc/oc-catalog:0.0.1 --name opencloud
publish-registry:
@echo "TODO"
all: docker publish-kind publish-registry
.PHONY: build run clean docker publish-kind publish-registry