deploy adjustment

This commit is contained in:
mr 2025-06-16 09:18:53 +02:00
parent e45f7c2bf8
commit 1379a71ff9

View File

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