mirror of
https://github.com/containers/podman.git
synced 2025-11-13 17:47:13 +08:00
vendor: bump buildah, c/image and c/storage
Bumps c/buildah to -> `v1.24.3-0.20220310160415-5ec70bf01ea5` c/storage to -> `v1.38.3-0.20220308085612-93ce26691863` c/image to -> `v5.20.1-0.20220310094651-0d8056ee346f` Signed-off-by: Aditya R <arajan@redhat.com>
This commit is contained in:
6
vendor/github.com/containers/buildah/new.go
generated
vendored
6
vendor/github.com/containers/buildah/new.go
generated
vendored
@@ -7,7 +7,6 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/containers/buildah/define"
|
||||
"github.com/containers/buildah/pkg/blobcache"
|
||||
"github.com/containers/common/libimage"
|
||||
"github.com/containers/common/pkg/config"
|
||||
"github.com/containers/image/v5/image"
|
||||
@@ -145,14 +144,11 @@ func newBuilder(ctx context.Context, store storage.Store, options BuilderOptions
|
||||
pullOptions.OciDecryptConfig = options.OciDecryptConfig
|
||||
pullOptions.SignaturePolicyPath = options.SignaturePolicyPath
|
||||
pullOptions.Writer = options.ReportWriter
|
||||
pullOptions.DestinationLookupReferenceFunc = cacheLookupReferenceFunc(options.BlobDirectory, types.PreserveOriginal)
|
||||
|
||||
maxRetries := uint(options.MaxPullRetries)
|
||||
pullOptions.MaxRetries = &maxRetries
|
||||
|
||||
if options.BlobDirectory != "" {
|
||||
pullOptions.DestinationLookupReferenceFunc = blobcache.CacheLookupReferenceFunc(options.BlobDirectory, types.PreserveOriginal)
|
||||
}
|
||||
|
||||
pulledImages, err := imageRuntime.Pull(ctx, options.FromImage, pullPolicy, &pullOptions)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user