fix: e2e.sh unbound variable on empty build_args

Use ${arr[@]+"${arr[@]}"} pattern for nounset-safe empty array expansion.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
FloandClaude committed 2026-03-31 18:08:21 +02:00
1 parent dd6257985b
commit 1795661975
1 file changed
+1 -1
+1 -1
View File
@@ -166,7 +166,7 @@ build_image() {
info "Building ${image_name}..."
if ! "$RUNTIME" build \
"${build_args[@]}" \
${build_args[@]+"${build_args[@]}"} \
-f "$containerfile" \
-t "$image_name" \
"$REPO_ROOT" 2>&1; then