diff --git a/Makefile b/Makefile index 083209b..708a192 100755 --- a/Makefile +++ b/Makefile @@ -21,15 +21,20 @@ clean: rm -rf oc-workspace.tar.gz docker: - DOCKER_BUILDKIT=1 docker build -t oc/oc-workspace:0.0.1 -f Dockerfile . - docker tag oc/oc-workspace:0.0.1 oc/oc-workspace:latest + DOCKER_BUILDKIT=1 docker build -t oc-workspace -f Dockerfile . --build-arg=HOST=$(HOST) + docker tag oc-workspace:latest oc/oc-workspace:0.0.1 publish-kind: - kind load docker-image oc/oc-workspace:0.0.1 --name opencloud + kind load docker-image oc/oc-workspace:0.0.1 --name opencloud | true publish-registry: @echo "TODO" +docker-deploy: + docker compose up -d + +run-docker: docker publish-kind publish-registry docker-deploy + all: docker publish-kind publish-registry .PHONY: build run clean docker publish-kind publish-registry