diff --git a/act/runner/run_context.go b/act/runner/run_context.go index ab183f34..a70c3bf6 100644 --- a/act/runner/run_context.go +++ b/act/runner/run_context.go @@ -222,8 +222,8 @@ EOF function build_template_act() { local name="$(template_act)" - if lxc_exists $name ; then - return + if lxc_exists_and_apt_not_old $name ; then + return 0 fi lxc_build_template $(lxc_template_release) $name