first commit

This commit is contained in:
Fabian Gasper
2026-07-12 18:32:01 +02:00
commit 7079f383d4
11 changed files with 528 additions and 0 deletions
Executable
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
set -e
VERSION=${1:?"Usage: ./build.sh <version> e.g. ./build.sh 1.0.0"}
REGISTRY="git.lojr.de/ilvoen/varde"
PLATFORMS="linux/amd64,linux/arm64,linux/arm/v7,linux/386"
echo "→ Building static variant..."
docker buildx build \
--platform ${PLATFORMS} \
-f Dockerfile \
-t ${REGISTRY}:${VERSION} \
-t ${REGISTRY}:latest \
--push .
echo "✓ Done! Pushed:"
echo " ${REGISTRY}:${VERSION} + latest"