when no archs for pkg to build, should continue rather than return, or it misses other packages

Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
Avi Deitcher 2022-06-07 19:45:35 +03:00
parent b56a0df58d
commit 9218f2577d

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...))