Skip to content

Commit

Permalink
feature(main): fix build not running .yaml (#1114)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuisongliu authored Jun 8, 2022
1 parent f21a08c commit a9e87f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/buildimage/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func ParseYamlImages(srcPath string) ([]string, error) {
if err != nil {
return err
}
if f.IsDir() || !yaml.Matcher(f.Name()) || !tmpl.Matcher(f.Name()) {
if f.IsDir() || (!yaml.Matcher(f.Name()) && !tmpl.Matcher(f.Name())) {
return nil
}
ima, err := imageSearcher.ListImages(path)
Expand Down

0 comments on commit a9e87f8

Please sign in to comment.