Skip to content

Commit

Permalink
Merge pull request #3444 from roman-kiselenko/pin-built-images
Browse files Browse the repository at this point in the history
Node-image: tag the core bundled images that we want to preserve with a pinned label
  • Loading branch information
k8s-ci-robot authored Dec 26, 2023
2 parents 8f6cb8f + 56a52ba commit 40c81f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/nodeimage/imageimporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (c *containerdImporter) Pull(image, platform string) error {
func (c *containerdImporter) LoadCommand() exec.Cmd {
return c.containerCmder.Command(
// TODO: ideally we do not need this in the future. we have fixed at least one image
"ctr", "--namespace=k8s.io", "images", "import", "--all-platforms", "--no-unpack", "--digests", "-",
"ctr", "--namespace=k8s.io", "images", "import", "--label=io.cri-containerd.pinned=pinned", "--all-platforms", "--no-unpack", "--digests", "-",
)
}

Expand Down

0 comments on commit 40c81f1

Please sign in to comment.