mirror of
https://github.com/containers/podman.git
synced 2025-11-04 17:07:20 +08:00
Update buildah to v1.11.0
Vendor in the latest changes for buildah to apply the implemented features here as well. Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
3
vendor/github.com/containers/buildah/pull.go
generated
vendored
3
vendor/github.com/containers/buildah/pull.go
generated
vendored
@ -218,6 +218,9 @@ func pullImage(ctx context.Context, store storage.Store, srcRef types.ImageRefer
|
||||
if blocked {
|
||||
return nil, errors.Errorf("pull access to registry for %q is blocked by configuration", transports.ImageName(srcRef))
|
||||
}
|
||||
if err := checkRegistrySourcesAllows("pull from", srcRef); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
destName, err := localImageNameForReference(ctx, store, srcRef)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user