0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-28 15:53:46 +02:00

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

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