ops: paivana and caddy config refresh

This commit is contained in:
Hernâni Marques 2026-09-09 00:52:54 +02:00
parent d8dbc6242b
commit 56f814a6de
No known key found for this signature in database
74 changed files with 4517 additions and 79 deletions

17
scripts/galene/build.sh Executable file
View file

@ -0,0 +1,17 @@
#!/usr/bin/env bash
# Build Galene image on CachyOS base (run on koopa).
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
CTX="${ROOT}/configs/galene"
TAG="${IMAGE_TAG:-localhost/koopa-galene:cachyos}"
GALENE_VERSION="${GALENE_VERSION:-0.9.1}"
cd "$CTX"
[[ -f Containerfile ]] || { echo "ERROR: missing $CTX/Containerfile" >&2; exit 1; }
echo "build $TAG (GALENE_VERSION=$GALENE_VERSION) ctx=$CTX"
podman build \
--build-arg "GALENE_VERSION=${GALENE_VERSION}" \
-t "$TAG" \
-f Containerfile \
.
echo "OK: $TAG"
podman image inspect "$TAG" --format '{{.Id}} {{.Size}} {{.Architecture}}' 2>/dev/null || true