mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
bump buildah to latest
Also includes a small change to make us of https://github.com/containers/buildah/pull/5039 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
5
vendor/github.com/containers/buildah/push.go
generated
vendored
5
vendor/github.com/containers/buildah/push.go
generated
vendored
@@ -95,6 +95,10 @@ type PushOptions struct {
|
||||
CompressionFormat *compression.Algorithm
|
||||
// CompressionLevel specifies what compression level is used
|
||||
CompressionLevel *int
|
||||
// ForceCompressionFormat ensures that the compression algorithm set in
|
||||
// CompressionFormat is used exclusively, and blobs of other compression
|
||||
// algorithms are not reused.
|
||||
ForceCompressionFormat bool
|
||||
}
|
||||
|
||||
// Push copies the contents of the image to a new location.
|
||||
@@ -110,6 +114,7 @@ func Push(ctx context.Context, image string, dest types.ImageReference, options
|
||||
libimageOptions.OciEncryptLayers = options.OciEncryptLayers
|
||||
libimageOptions.CompressionFormat = options.CompressionFormat
|
||||
libimageOptions.CompressionLevel = options.CompressionLevel
|
||||
libimageOptions.ForceCompressionFormat = options.ForceCompressionFormat
|
||||
libimageOptions.PolicyAllowStorage = true
|
||||
|
||||
if options.Quiet {
|
||||
|
||||
Reference in New Issue
Block a user