docker: Add --no-cache on built stage to force rebuild on runners.

This commit is contained in:
Jason Volk 2023-04-12 19:16:57 -07:00
parent b40c21545a
commit 73a3a4cb35
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ build()
# Leaf build; unique to each iteration.
tag="$ctor_acct/$ctor_repo:${distro}-${feature}-built-${toolchain}-${machine}"
arg="$args -t $tag $BASEDIR/${dist_name}/built"
arg="$args --no-cache -t $tag $BASEDIR/${dist_name}/built"
eval "$cmd build $arg"
if test $? -ne 0; then return 1; fi
if test $stage = "built"; then return 0; fi