Buildah's pkg/blobcache has been moved into containers/image [1] to
consolidate implementations of interfaces such as image destinations
and image sources.
Since there are no functional changes: [NO NEW TESTS NEEDED]
[1] https://github.com/containers/image/pull/1459
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
add two new flags to "buildah push" to allow tweaking the compression
format for the data layers.
The flag --compression-format allows users to specify the compression
algorithm to use.
With --compression-level it is possible to tweak the compression
level.
An image usage for partial pulls can be pushed with:
$ buildah push --compression-format zstd:chunked FOO
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
It affects all transports; and without --format, we try several manifest formats.
[NO NEW TESTS NEEDED]
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Restore the push and pull API that commit dcd2a92e56 removed.
These changes would break vendoring into openshift/builder due
to build errors.
For the same reason, restore `util.FindImage` and `util.AddImageNames`
but deprecate the `findRegistry` argument.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>