diff --git a/cmd/hauler/cli/store/add.go b/cmd/hauler/cli/store/add.go index ae532d4..7007083 100644 --- a/cmd/hauler/cli/store/add.go +++ b/cmd/hauler/cli/store/add.go @@ -300,7 +300,7 @@ func AddChartCmd(ctx context.Context, o *flags.AddChartOpts, s *store.Layout, ch type isSubchartKey struct{} // imageregex parses image references starting with "image:" and with optional spaces or optional quotes -var imageRegex = regexp.MustCompile(`(?m)^[ \t]*image:[ \t]*['"]?([^\s'"#]+)`) +var imageRegex = regexp.MustCompile(`(?m)^[ \t-]*image:[ \t]*['"]?([^\s'"#]+)`) // helmAnnotatedImage parses images references from helm chart annotations type helmAnnotatedImage struct {