We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 222db53 + cde2527 commit d4148d9Copy full SHA for d4148d9
cmd/ctr/commands/images/pull.go
@@ -132,6 +132,10 @@ command. As part of this process, we do the following:
132
} else if !context.Bool("skip-metadata") {
133
sopts = append(sopts, image.WithAllMetadata)
134
}
135
+ labels := context.StringSlice("label")
136
+ if len(labels) > 0 {
137
+ sopts = append(sopts, image.WithImageLabels(commands.LabelArgs(labels)))
138
+ }
139
140
opts := []registry.Opt{registry.WithCredentials(ch), registry.WithHostDir(context.String("hosts-dir"))}
141
if context.Bool("plain-http") {
0 commit comments