mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
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:
commit
0cb96dcfa0
@ -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...))
|
||||||
|
Loading…
Reference in New Issue
Block a user