mirror of
https://github.com/containers/podman.git
synced 2025-09-27 00:34:32 +08:00
vendor containers/common@main
The `IgnorePlatform` options has been removed from the `LookupImageOptions` in libimage to properly support multi-arch images. Skip one buildah-bud test which requires updated CI images. This is currently being done in github.com/containers/podman/pull/10829 but we need to unblock merging common and buildah into podman. [NO TESTS NEEDED] Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
3
vendor/github.com/containers/common/libimage/push.go
generated
vendored
3
vendor/github.com/containers/common/libimage/push.go
generated
vendored
@ -31,8 +31,7 @@ func (r *Runtime) Push(ctx context.Context, source, destination string, options
|
||||
|
||||
// Look up the local image. Note that we need to ignore the platform
|
||||
// and push what the user specified (containers/podman/issues/10344).
|
||||
lookupOptions := &LookupImageOptions{IgnorePlatform: true}
|
||||
image, resolvedSource, err := r.LookupImage(source, lookupOptions)
|
||||
image, resolvedSource, err := r.LookupImage(source, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user