:-'Generic Commit'
Some checks failed
Gitea Actions Demo / Build (push) Failing after 5s

This commit is contained in:
Your Name 2025-05-30 00:32:51 +12:00
parent 411876c1ef
commit ed9506de8b

View File

@ -2,10 +2,15 @@
set -euo pipefail set -euo pipefail
function die() {
echo "$1"
exit 1
}
function build_image() { function build_image() {
local dockerfile="$1" local dockerfile="$1"
local image_name="${dockerfile//Dockerfile./}" local image_name="${dockerfile//Dockerfile./}"
docker build -t "$image_name:latest" -f "$dockerfile" . docker build -t "$image_name:latest" -f "$dockerfile" . || die "Failed to build $image_name"
} }
pids=() pids=()