mirror of
https://github.com/containers/podman.git
synced 2025-11-13 17:47:13 +08:00
Add --accept-repositories integration tests
This adds the integration tests for the repository or namespaced registry feature introduced in c/common. Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This commit is contained in:
4
vendor/github.com/containers/common/libimage/search.go
generated
vendored
4
vendor/github.com/containers/common/libimage/search.go
generated
vendored
@@ -185,6 +185,10 @@ func (r *Runtime) searchImageInRegistry(ctx context.Context, term, registry stri
|
||||
sys.DockerInsecureSkipTLSVerify = options.InsecureSkipTLSVerify
|
||||
}
|
||||
|
||||
if options.Authfile != "" {
|
||||
sys.AuthFilePath = options.Authfile
|
||||
}
|
||||
|
||||
if options.ListTags {
|
||||
results, err := searchRepositoryTags(ctx, sys, registry, term, options)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user