From: Dan Brown Date: Sat, 22 Nov 2025 12:40:30 +0000 (+0000) Subject: DB testing: Prevented caching during build X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/ad582ab9f8eb6354f7da8930ddb3f455e5279319 DB testing: Prevented caching during build To prevent re-using code when re-run for same branch. --- diff --git a/dev/docker/db-testing/run.sh b/dev/docker/db-testing/run.sh index 265b4f0f9..fe6ee4508 100755 --- a/dev/docker/db-testing/run.sh +++ b/dev/docker/db-testing/run.sh @@ -3,7 +3,7 @@ BRANCH=${1:-development} # Build the container with a known name -docker build --build-arg BRANCH="$BRANCH" -t bookstack:db-testing . +docker build --no-cache --build-arg BRANCH="$BRANCH" -t bookstack:db-testing . if [ $? -eq 1 ]; then echo "Failed to build app container for testing" exit 1