-
-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove path from default registry #433
Conversation
@@ -9,7 +9,7 @@ import { RegistryAuthLocator } from "./registry-auth-locator"; | |||
import { log } from "../logger"; | |||
import { AuthConfig } from "../docker/types"; | |||
|
|||
const DEFAULT_REGISTRY = "https://index.docker.io/v1/"; | |||
const DEFAULT_REGISTRY = "https://index.docker.io"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think https://index.docker.io/v1/
is correct. That's what Docker Desktop resolves too, see:
- DockerImageNotFoundException to pull images testcontainers-dotnet#666 (comment)
- Read
indexServerAddress
from Docker's/info
testcontainers-java#5347
What I meant by my comment in Slack is, that the GitLab example uses https://index.docker.io
as key, but our default key is https://index.docker.io/v1/
. Might be addressed due to key.includes(registry)
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@HofmeisterAn Understood, and I found that for the credential provider it didn't work in this case. We check the substring when listing the credentials, but when we go to get the credential we lookup the original registry, which isn't found
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Superseded by #484 |
No description provided.