Add force rebuild option #329

Merged
telackey merged 8 commits from dboreham/rebuild-option into main 2023-04-14 20:19:28 +00:00
Showing only changes of commit 303d722815 - Show all commits

View File

@ -6,7 +6,7 @@ if [[ -n "$CERC_SCRIPT_DEBUG" ]]; then
fi
build_command_args=""
if [[ ${CERC_FORCE_REBUILD} == "true" ]]; then
build_command_args="${build_command_args} --pull --no-cache"
build_command_args="${build_command_args} --no-cache"
fi
if [[ -n "$CERC_CONTAINER_EXTRA_BUILD_ARGS" ]]; then
build_command_args="${build_command_args} ${CERC_CONTAINER_EXTRA_BUILD_ARGS}"