Check builds use Docker's normal cache
check / check (push) Failing after 1m53s

Drop --no-cache from every docker build in script/: an unchanged tree
needs no rerun.

Model: opus-5-5
This commit is contained in:
clawbot committed 2026-11-16 21:48:28 +00:00
1 parent a2fcc00ded
commit 988f117ef3
6 files changed
+9 -18

No files matched your search

+2 -3
View File
@@ -2,8 +2,7 @@
# script/test: run the test suite. Testing is a phase of the Dockerfile
# and this builds that phase alone, on the same terms as script/lint:
# --target because a phase that is not the last stage is built only when
# named, --no-cache because a cached test layer is a test that did not
# run, and a tag so each build replaces the previous image.
# named, and a tag so each build replaces the previous image.
set -eu
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
@@ -11,7 +10,7 @@ ROOT="$(cd "$SCRIPT_DIR/.." && pwd -P)"
main() {
cd "$ROOT"
docker build --no-cache \
docker build \
--target test \
-t "$("$SCRIPT_DIR/projectname")-test" .
}