some preliminary config

This commit is contained in:
kleines Filmröllchen 2025-01-27 11:56:52 +01:00
commit a55b81cece
Signed by: filmroellchen
SSH key fingerprint: SHA256:UMhcHaeI+VGsiUL2Drpw3aj1iRiQUlx8nxZqUPvoaVw
6 changed files with 137 additions and 0 deletions

9
build-containers.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
BASEDIR=/etc/forgejo-runner
for container in "$BASEDIR"/Containerfile.*; do
base=$(basename "$container")
tag=${base#"Containerfile."}
podman build -t "$tag" --cpu-quota 50000 -f "$container" $BASEDIR
done