Skip to content

Conversation

@cristianrgreco
Copy link
Collaborator

No description provided.

@cristianrgreco cristianrgreco added bug Something isn't working patch Backward compatible bug fix labels Dec 23, 2022
import { AuthConfig } from "../docker/types";

const DEFAULT_REGISTRY = "https://index.docker.io/v1/";
const DEFAULT_REGISTRY = "https://index.docker.io";
Copy link
Contributor

@HofmeisterAn HofmeisterAn Dec 23, 2022

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:

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).

Copy link
Collaborator Author

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

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@cristianrgreco cristianrgreco added enhancement New feature or request maintenance Improvements that do not change functionality and removed bug Something isn't working enhancement New feature or request labels Mar 7, 2023
@cristianrgreco
Copy link
Collaborator Author

Superseded by #484

@cristianrgreco cristianrgreco deleted the remove-path-default-registry branch March 7, 2023 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Improvements that do not change functionality patch Backward compatible bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants