diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-22 15:18:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 15:18:41 +0200 |
commit | 828fae12971c5a7b9807c8c4f8e029fe5d0ddc2f (patch) | |
tree | 76828348bec0fe4c58d8129cd635370ea0501e7a /pkg/domain/infra | |
parent | a49aa135af3b9af368cee861d2ef2884f54893f6 (diff) | |
parent | 33c31112fb44da455b8841b73a92980a07f42720 (diff) | |
download | podman-828fae12971c5a7b9807c8c4f8e029fe5d0ddc2f.tar.gz podman-828fae12971c5a7b9807c8c4f8e029fe5d0ddc2f.tar.bz2 podman-828fae12971c5a7b9807c8c4f8e029fe5d0ddc2f.zip |
Merge pull request #15870 from idleroamer/podman-save
podman-save: Add signature-policy flag
Diffstat (limited to 'pkg/domain/infra')
-rw-r--r-- | pkg/domain/infra/abi/images.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go index 9ea09e1ec..16b75829f 100644 --- a/pkg/domain/infra/abi/images.go +++ b/pkg/domain/infra/abi/images.go @@ -405,6 +405,7 @@ func (ir *ImageEngine) Save(ctx context.Context, nameOrID string, tags []string, saveOptions := &libimage.SaveOptions{} saveOptions.DirForceCompress = options.Compress saveOptions.OciAcceptUncompressedLayers = options.OciAcceptUncompressedLayers + saveOptions.SignaturePolicyPath = options.SignaturePolicy // Force signature removal to preserve backwards compat. // See https://github.com/containers/podman/pull/11669#issuecomment-925250264 |