-
Notifications
You must be signed in to change notification settings - Fork 643
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
Resolve registry auth URL by registry ID. Fixes issue #1688. #1694
Resolve registry auth URL by registry ID. Fixes issue #1688. #1694
Conversation
Signed-off-by: Oleksandr Vayda <oleksandr.vayda@gmail.com>
1bbc57f
to
9b55e6c
Compare
@wajda : Thanks for the PR. Could you please add some test to validate this fix? |
Codecov Report
@@ Coverage Diff @@
## master #1694 +/- ##
============================================
+ Coverage 64.01% 64.03% +0.01%
- Complexity 2198 2200 +2
============================================
Files 171 171
Lines 9985 9989 +4
Branches 1371 1371
============================================
+ Hits 6392 6396 +4
Misses 3058 3058
Partials 535 535
|
Signed-off-by: Oleksandr Vayda <oleksandr.vayda@gmail.com>
Sure, done. |
@rohanKanojia can you approve workflows please? |
Kudos, SonarCloud Quality Gate passed! |
I'm not sure why the test on Java 8 on Windows fails. I guess it's not related to this PR. Can you check please?
|
Hi team, @rohanKanojia, |
@wajda : Thanks for your PR! Let me try to cut a new release this weekend. Thanks for your patience 🙏 |
It works as expected. Thank you @rohanKanojia and have a nice weekend! |
fixes #1688
When registry is Docker Hub the authentication URL should be exactly "https://index.docker.io/v1/".
This PR adds a private method
getRegistryUrl
to theAuthConfig
class that resolves authentication URL for the given registry ID.This PR is related to the PR #1578.