add autovault container

This commit is contained in:
ace
2025-04-10 00:22:38 +03:00
parent c699f5919e
commit f57fd4c5c2
4 changed files with 49 additions and 0 deletions

22
autovault/Makefile Normal file
View File

@ -0,0 +1,22 @@
VERSION=0.1.0
BUILD=1
IMAGE=autovault
REGISTRY=gitea.geekhome.org/ghp
.PHONY: build push all
ifeq ($(shell command -v podman 2> /dev/null),)
CMD=docker
FORMAT=
else
CMD=podman
FORMAT=--format docker
endif
build:
$(CMD) build $(NO_CACHE) $(FORMAT) -t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
push:
$(CMD) push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
all: build push