From e0e27402c08c1e230f3ffc0913d386b74e759a34 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 26 Aug 2026 17:40:03 +0200 Subject: [PATCH] =?UTF-8?q?Makefile:=20build/push/release=20f=C3=BCr=20das?= =?UTF-8?q?=20Registry-Image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c976d31 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +IMAGE ?= gitea.korbel.network/nico/researchchat:latest +ENGINE ?= podman + +.PHONY: help build push release + +help: + @echo "Ziele:" + @echo " make build - Image bauen (als $(IMAGE))" + @echo " make push - Image in die Registry pushen" + @echo " make release - bauen + pushen" + @echo "" + @echo "Variablen: make release ENGINE=docker IMAGE=gitea.korbel.network/nico/researchchat:v2" + +build: + $(ENGINE) build -t $(IMAGE) . + +push: + $(ENGINE) push $(IMAGE) + +release: build push