dockertest
dockertest copied to clipboard
feat: use creds helper
Support pulling images from registries using docker credentials helper. Backported auth related changes from go-dockerclient, when image is not found locally and image contains registry name credential helper will be called when available.
Checklist
- [x] I have read the contributing guidelines and signed the CLA.
- [x] I have read the security policy.
- [x] I confirm that this pull request does not address a security vulnerability. If this pull request addresses a security vulnerability, I confirm that I got green light (please contact [email protected]) from the maintainers to push the changes.
- [ ] I have added tests that prove my fix is effective or that my feature works.
- [ ] I have added necessary documentation within the code base (if appropriate).
Codecov Report
:exclamation: No coverage uploaded for pull request base (
v3@148c3da
). Click here to learn what that means. The diff coverage isn/a
.
@@ Coverage Diff @@
## v3 #346 +/- ##
=====================================
Coverage ? 53.64%
=====================================
Files ? 1
Lines ? 343
Branches ? 0
=====================================
Hits ? 184
Misses ? 121
Partials ? 38
In order to write automated tests for this PR we would need private image and docker credentials helper provisioned in CI. I tested it successfully with private images that we're using now :-)
Could you show a screen cast of this working with a private repo please? :)
ping @shaxbee please see above
While the PR is being worked on I will mark it as a draft. That declutters our review backlog :)
Once you're done with your changes and would like someone to review them, mark the PR as ready and request a review from one of the maintainers.
Thank you!
@shaxbee could you follow up here? This is a useful addition.
Any news regarding this one?