From 1379a71ff91adf68d7c39c071014846767a902d6 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 16 Jun 2025 09:18:53 +0200 Subject: [PATCH] deploy adjustment --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index eb14ceb..78f6b0b 100644 --- a/Makefile +++ b/Makefile @@ -21,15 +21,20 @@ clean: rm -rf oc-shared.tar.gz docker: - DOCKER_BUILDKIT=1 docker build -t oc/oc-shared:0.0.1 -f Dockerfile . - docker tag oc/oc-shared:0.0.1 oc/oc-shared:latest + DOCKER_BUILDKIT=1 docker build -t oc-shared -f Dockerfile . --build-arg=HOST=$(HOST) + docker tag oc-shared:latest oc/oc-shared:0.0.1 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: @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