Repo init

This commit is contained in:
2026-04-23 23:40:34 -03:00
parent 214158a174
commit 30b0597380
34 changed files with 13201 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
SHELL := /bin/bash
IMAGE ?= git.kralot.cloud/decap-stream
TAG ?= ""
.PHONY: build push
build:
@if [ -z "$(TAG)" ]; then \
echo "❌ TAG não definida. Use ./build.sh ou passe TAG=x.x.x"; \
exit 1; \
fi
docker build --no-cache \
-f Dockerfile \
-t $(IMAGE):$(TAG) \
..
push:
@if [ -z "$(TAG)" ]; then \
echo "❌ TAG não definida."; \
exit 1; \
fi
docker push $(IMAGE):$(TAG)