diff --git a/Makefile b/Makefile index 05fbff3..f1d8001 100755 --- a/Makefile +++ b/Makefile @@ -19,15 +19,20 @@ 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 + DOCKER_BUILDKIT=1 docker build -t oc-catalog -f Dockerfile . --build-arg=HOST=$(HOST) + docker tag oc-catalog:latest oc/oc-catalog:0.0.1 publish-kind: - kind load docker-image oc/oc-catalog:0.0.1 --name opencloud + kind load docker-image oc/oc-catalog: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 dev: purge run-dev