'Generic Commit'
Some checks failed
Build-Test-Publish / build (push) Successful in 3s
dropshell-build / build (push) Failing after 1m13s

This commit is contained in:
Your Name
2025-06-01 12:02:44 +12:00
parent b1e90eff90
commit 9de5a0592d
3 changed files with 36 additions and 12 deletions

View File

@ -233,26 +233,23 @@ function buildspawn() {
echo "PWD: ${PWD}"
echo "JOB_CONTAINER_NAME: ${JOB_CONTAINER_NAME}"
# shellcheck disable=SC2086
docker run --rm -i --entrypoint /bin/bash \
--volumes-from="${JOB_CONTAINER_NAME}" \
"gitea.jde.nz/public/dropshell-build:${TAG}" \
rm -rf /app && \
ln -s "${GITHUB_WORKSPACE}" /app && \
dropshell-build $FLAGS /app
bash -c "rm -rf /app && \
ln -s ${GITHUB_WORKSPACE} /app && \
dropshell-build $FLAGS /app"
else
echo "Running locally"
# shellcheck disable=SC2086
docker run --rm \
-u "$(id -u)":"$(id -g)" \
-v "$BUILD_DIR":/app \
"gitea.jde.nz/public/dropshell-build:${TAG}" \
dropshell-build $FLAGS /app
bash -c "dropshell-build $FLAGS /app"
fi
else
echo "Using local native buildchain"
# shellcheck disable=SC2086
build $FLAGS "$BUILD_DIR"
bash -c "build $FLAGS $BUILD_DIR"
fi
}