Skip to content

Commit

Permalink
Fix kind image loading for MacOS (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
aidy authored May 23, 2023
1 parent 86787bd commit a46638e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/publish/kind/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a46638e

Please sign in to comment.