diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-28 14:37:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 14:37:30 -0500 |
commit | a4c255a939cf340978efd9cb070951029237c8cf (patch) | |
tree | d16359f9307cc94afd14f1721e465366e387d670 /pkg/domain/infra/tunnel/manifest.go | |
parent | fb653c43ed1eb9eb9b97ca80edb8df6caab88905 (diff) | |
parent | 84f7bdc4dbadee3101f61c7953b13e48de158093 (diff) | |
download | podman-a4c255a939cf340978efd9cb070951029237c8cf.tar.gz podman-a4c255a939cf340978efd9cb070951029237c8cf.tar.bz2 podman-a4c255a939cf340978efd9cb070951029237c8cf.zip |
Merge pull request #9115 from rhatdan/pull
Switch podman image push handlers to use abi
Diffstat (limited to 'pkg/domain/infra/tunnel/manifest.go')
-rw-r--r-- | pkg/domain/infra/tunnel/manifest.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/domain/infra/tunnel/manifest.go b/pkg/domain/infra/tunnel/manifest.go index c12ba0045..e261afee2 100644 --- a/pkg/domain/infra/tunnel/manifest.go +++ b/pkg/domain/infra/tunnel/manifest.go @@ -86,10 +86,8 @@ func (ir *ImageEngine) ManifestRemove(ctx context.Context, names []string) (stri // ManifestPush pushes a manifest list or image index to the destination func (ir *ImageEngine) ManifestPush(ctx context.Context, name, destination string, opts entities.ImagePushOptions) (string, error) { options := new(images.PushOptions) - options.WithUsername(opts.Username).WithSignaturePolicy(opts.SignaturePolicy).WithQuiet(opts.Quiet) - options.WithPassword(opts.Password).WithCertDir(opts.CertDir).WithAuthfile(opts.Authfile) - options.WithCompress(opts.Compress).WithDigestFile(opts.DigestFile).WithFormat(opts.Format) - options.WithRemoveSignatures(opts.RemoveSignatures).WithSignBy(opts.SignBy) + options.WithUsername(opts.Username).WithPassword(opts.Password).WithAuthfile(opts.Authfile) + options.WithAll(opts.All) if s := opts.SkipTLSVerify; s != types.OptionalBoolUndefined { if s == types.OptionalBoolTrue { |