diff options
author | Qi Wang <qiwan@redhat.com> | 2020-10-21 09:51:35 -0400 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-10-21 10:00:08 -0400 |
commit | b898f914a3a9b8cad5519ace0167d738e2f85186 (patch) | |
tree | 19c8a7dcc25b5375c4e0fd8010f62ee34d743cd9 /pkg/domain/infra/abi/images.go | |
parent | 94873a237ab52db27916b8954e489fe780eea069 (diff) | |
download | podman-b898f914a3a9b8cad5519ace0167d738e2f85186.tar.gz podman-b898f914a3a9b8cad5519ace0167d738e2f85186.tar.bz2 podman-b898f914a3a9b8cad5519ace0167d738e2f85186.zip |
save image remove signatures
remove signatures to podman save since the image formats do not support signatures
Close: #7659
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi/images.go')
-rw-r--r-- | pkg/domain/infra/abi/images.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go index f9d733c63..25335cf11 100644 --- a/pkg/domain/infra/abi/images.go +++ b/pkg/domain/infra/abi/images.go @@ -482,13 +482,13 @@ func (ir *ImageEngine) Import(ctx context.Context, opts entities.ImageImportOpti func (ir *ImageEngine) Save(ctx context.Context, nameOrID string, tags []string, options entities.ImageSaveOptions) error { if options.MultiImageArchive { nameOrIDs := append([]string{nameOrID}, tags...) - return ir.Libpod.ImageRuntime().SaveImages(ctx, nameOrIDs, options.Format, options.Output, options.Quiet) + return ir.Libpod.ImageRuntime().SaveImages(ctx, nameOrIDs, options.Format, options.Output, options.Quiet, true) } newImage, err := ir.Libpod.ImageRuntime().NewFromLocal(nameOrID) if err != nil { return err } - return newImage.Save(ctx, nameOrID, options.Format, options.Output, tags, options.Quiet, options.Compress) + return newImage.Save(ctx, nameOrID, options.Format, options.Output, tags, options.Quiet, options.Compress, true) } func (ir *ImageEngine) Diff(_ context.Context, nameOrID string, _ entities.DiffOptions) (*entities.DiffReport, error) { |