diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..47cffb9 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +.DEFAULT_GOAL := all + +build: clean + go build . + +run: + ./oc-monitord + +clean: + rm -rf oc-monitord + +docker: + DOCKER_BUILDKIT=1 docker build -t oc/oc-monitord:0.0.1 -f Dockerfile . + docker tag oc/oc-monitord:0.0.1 oc/oc-monitord:latest + +publish-kind: + kind load docker-image oc/oc-monitord:0.0.1 --name opencloud + +publish-registry: + @echo "TODO" + +all: docker publish-kind publish-registry + +.PHONY: build run clean docker publish-kind publish-registry \ No newline at end of file diff --git a/oc-monitord b/oc-monitord deleted file mode 100755 index 7aceaf7..0000000 Binary files a/oc-monitord and /dev/null differ