mirror of
https://github.com/ko-build/ko.git
synced 2025-02-07 19:30:23 +02:00
Fix kind image loading for MacOS (#1026)
See: https://github.com/kubernetes-sigs/kind/pull/2957
This commit is contained in:
parent
86787bdf54
commit
a46638e296
@ -69,7 +69,7 @@ func Write(ctx context.Context, tag name.Tag, img v1.Image) error {
|
||||
})
|
||||
|
||||
var buf bytes.Buffer
|
||||
cmd := n.CommandContext(ctx, "ctr", "--namespace=k8s.io", "images", "import", "-").SetStdin(pr)
|
||||
cmd := n.CommandContext(ctx, "ctr", "--namespace=k8s.io", "images", "import", "--all-platforms", "-").SetStdin(pr)
|
||||
cmd.SetStdout(&buf)
|
||||
cmd.SetStderr(&buf)
|
||||
if err := cmd.Run(); err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user