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
commit 0cb96dcfa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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