Merge pull request #19640 from flouthoc/force-compression

push/manifest-push: add support for `--force-compression` to prevent reusing other blobs
This commit is contained in:
OpenShift Merge Robot
2023-08-28 16:49:31 +02:00
committed by GitHub
18 changed files with 224 additions and 38 deletions

View File

@ -0,0 +1,8 @@
####> This option file is used in:
####> podman manifest push, push
####> If file is edited, make sure the changes
####> are applicable to all of those.
#### **--force-compression**
If set, push uses the specified compression algorithm even if the destination contains a differently-compressed variant already.
Defaults to `true` if `--compression-format` is explicitly specified on the command-line, `false` otherwise.

View File

@ -42,6 +42,8 @@ the list or index itself. (Default true)
@@option digestfile
@@option force-compression
#### **--format**, **-f**=*format*
Manifest list type (oci or v2s2) to use when pushing the list (default is oci).

View File

@ -70,6 +70,8 @@ Layer(s) to encrypt: 0-indexed layer indices with support for negative indexing
The [protocol:keyfile] specifies the encryption protocol, which can be JWE (RFC7516), PGP (RFC4880), and PKCS7 (RFC2315) and the key material required for image encryption. For instance, jwe:/path/to/key.pem or pgp:admin@example.com or pkcs7:/path/to/x509-file.
@@option force-compression
#### **--format**, **-f**=*format*
Manifest Type (oci, v2s2, or v2s1) to use when pushing an image.