'Generic Commit'
Some checks failed
dropshell-build / build (push) Failing after 1m11s

This commit is contained in:
Your Name
2025-06-01 11:57:56 +12:00
parent 11efaa3ff5
commit b1e90eff90
2 changed files with 9 additions and 18 deletions

View File

@ -196,11 +196,10 @@ function build() {
}
function buildspawn() {
local BUILD_DIR="$1"
if [ -z "$BUILD_DIR" ] || [ ! -d "$BUILD_DIR" ]; then
echo "Error: builddir doesn't exist: $BUILD_DIR"
exit 1
fi
local BUILD_DIR="${1:-}"
[ -n "${BUILD_DIR:-}" ] || die "No Build Directory given!"
[ -d "$BUILD_DIR" ] || die "Build Directory doesn't exist: $BUILD_DIR"
# make canonical
BUILD_DIR=$(realpath "$BUILD_DIR")
FLAGS=""
@ -229,9 +228,10 @@ function buildspawn() {
echo "--------------------------------"
echo "ls -la using --volumes-from"
echo "GITHUB_WORKSPACE: ${GITHUB_WORKSPACE}"
echo "BUILD_DIR: ${BUILD_DIR}"
echo "SCRIPT_DIR: ${SCRIPT_DIR}"
echo "GITHUB_WORKSPACE: ${GITHUB_WORKSPACE}"
echo "BUILD_DIR: ${BUILD_DIR}"
echo "PWD: ${PWD}"
echo "JOB_CONTAINER_NAME: ${JOB_CONTAINER_NAME}"
# shellcheck disable=SC2086
docker run --rm -i --entrypoint /bin/bash \