9 lines
231 B
Bash
Executable file
9 lines
231 B
Bash
Executable file
#!/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
|