Fixing go dependency, adding Makefile as entry point for building, tagging, and deploying, fixing Dockerfile for quicker build

This commit is contained in:
plm
2025-01-10 11:44:14 +01:00
parent ec25c872a3
commit 402d507909
4 changed files with 60 additions and 48 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-workflow.tar.gz
docker:
DOCKER_BUILDKIT=1 docker build -t oc/oc-workflow:0.0.1 -f Dockerfile .
docker tag oc/oc-workflow:0.0.1 oc/oc-workflow:latest
publish-kind:
kind load docker-image oc/oc-workflow:0.0.1 --name opencloud
publish-registry:
@echo "TODO"
all: clean docker publish-kind publish-registry
.PHONY: build run clean docker publish-kind publish-registry