linting manifest should not lint pipeline config
This commit is contained in:
parent
a4a63fe917
commit
ad8ad9816f
|
@ -57,7 +57,7 @@ func checkPipelines(manifest *yaml.Manifest, trusted bool) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if (v.Kind == "pipeline" || v.Kind == "") && (v.Type == "" || v.Type == "docker") {
|
if (v.Kind == "pipeline" || v.Kind == "") && (v.Type == "" || v.Type == "docker") {
|
||||||
err = checkPipeline(v, trusted)
|
err = checkPlatform(v.Platform)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue