da7b77ed5c
Dagger used to rely on registry.ParseNormalize function to extract registry domains from images / registry URLs. However, it contained some flaws for private registries. This PR fixes that by implementing a test suite around it, and tweaks the splitReposSearchTerm function from the docker CLI. The logic of splitReposSearchTerm is kept, and enhanced to fit to all of our use cases. In case of a bad matching, a clear error is returned Signed-off-by: guillaume <guillaume.derouville@gmail.com> |
||
---|---|---|
.. | ||
fs.go | ||
registryauth_test.go | ||
registryauth.go | ||
secretsprovider.go | ||
socketprovider_unix.go | ||
socketprovider_windows.go | ||
socketprovider.go | ||
solver.go |