1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-12-14 19:42:14 +03:00

DB testing: Prevented caching during build

To prevent re-using code when re-run for same branch.
This commit is contained in:
Dan Brown
2025-11-22 12:40:30 +00:00
parent 870f3c58c0
commit ad582ab9f8

View File

@@ -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