fix: skip recipe clone / up to date sync for some commands

Continues work of 3dc5662821.
This commit is contained in:
2023-08-01 21:19:20 +02:00
parent 2cd453ae8d
commit 23f5745cb8
7 changed files with 73 additions and 7 deletions

View File

@ -60,7 +60,11 @@ your SSH keys configured on your account.
Before: internal.SubCommandBefore,
BashComplete: autocomplete.RecipeNameComplete,
Action: func(c *cli.Context) error {
conf := runtime.New(runtime.WithOffline(internal.Offline))
conf := runtime.New(
runtime.WithOffline(internal.Offline),
runtime.WithEnsureRecipeUpToDate(false),
)
recipe := internal.ValidateRecipeWithPrompt(c, conf)
imagesTmp, err := getImageVersions(recipe)