Skip to content

Commit

Permalink
docker: Add --no-cache on built stage to force rebuild on runners.
Browse files Browse the repository at this point in the history
  • Loading branch information
jevolk committed Apr 14, 2023
1 parent b40c215 commit 73a3a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/build-and-push-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73a3a4c

Please sign in to comment.