mirror of
https://github.com/containers/podman.git
synced 2025-07-17 17:43:23 +08:00
Add support for podman-remote manifest annotate
Now that podman manifest annotate is supported in the remote environment. Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
This commit is contained in:
@ -530,13 +530,13 @@ func ManifestModify(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
case strings.EqualFold("annotate", body.Operation):
|
||||
options := entities.ManifestAnnotateOptions{
|
||||
Annotation: body.Annotation,
|
||||
Arch: body.Arch,
|
||||
Features: body.Features,
|
||||
OS: body.OS,
|
||||
OSFeatures: body.OSFeatures,
|
||||
OSVersion: body.OSVersion,
|
||||
Variant: body.Variant,
|
||||
Annotations: body.Annotations,
|
||||
Arch: body.Arch,
|
||||
Features: body.Features,
|
||||
OS: body.OS,
|
||||
OSFeatures: body.OSFeatures,
|
||||
OSVersion: body.OSVersion,
|
||||
Variant: body.Variant,
|
||||
}
|
||||
for _, image := range body.Images {
|
||||
id, err := imageEngine.ManifestAnnotate(r.Context(), name, image, options)
|
||||
|
Reference in New Issue
Block a user