Merge pull request #3789 from deitch/continue-after-noarchs

when no archs for pkg to build, should continue rather than return
This commit is contained in:
Avi Deitcher
2022-06-07 21:12:34 +03:00
committed by GitHub

View File

@@ -163,7 +163,7 @@ func pkgBuildPush(args []string, withPush bool) {
// note that this is *not* an error; we simply skip it
if len(pkgPlats) == 0 {
fmt.Printf("Skipping %s with no architectures to build\n", p.Tag())
return
continue
}
pkgOpts = append(pkgOpts, pkglib.WithBuildPlatforms(pkgPlats...))