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

+1 -4
View File
@@ -2,9 +2,6 @@
# script/cibuild: run the CI build. It bootstraps first: a CI runner
# checks out and runs this and nothing else, and script/fmt-check runs
# the formatter on the host, which a pristine checkout cannot do.
# --no-cache for the same reason as script/docker: the gate phases the
# final stage depends on are RUN steps, and a cached one is a check that
# did not run.
set -eu
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
@@ -20,7 +17,7 @@ main() {
# the version a build stage derives from the .git in the context.
version="$(git describe --tags --always --dirty 2>/dev/null || true)"
[ -n "$version" ] || version="unknown"
docker build --no-cache \
docker build \
--build-arg VERSION="$version" \
-t "$("$SCRIPT_DIR/projectname")" .
}