deploy adjustment

This commit is contained in:
mr
2025-06-16 09:13:43 +02:00
parent b372c10ab0
commit 001539fb36
2 changed files with 10 additions and 5 deletions

View File

@@ -21,15 +21,20 @@ clean:
rm -rf oc-datacenter.tar.gz
docker:
DOCKER_BUILDKIT=1 docker build -t oc/oc-datacenter:0.0.1 -f Dockerfile .
docker tag oc/oc-datacenter:0.0.1 oc/oc-datacenter:latest
DOCKER_BUILDKIT=1 docker build -t oc-datacenter -f Dockerfile . --build-arg=HOST=$(HOST)
docker tag oc-datacenter:latest oc/oc-datacenter:0.0.1
publish-kind:
kind load docker-image oc/oc-datacenter:0.0.1 --name opencloud
kind load docker-image oc/oc-datacenter: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