-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Docker auth #891
Docker auth #891
Conversation
@ZauberNerd this pull request has failed checks 🛠 |
8291d3c
to
e74c857
Compare
@ZauberNerd this pull request has failed checks 🛠 |
e74c857
to
382a5ac
Compare
This comment has been minimized.
This comment has been minimized.
Codecov Report
@@ Coverage Diff @@
## master #891 +/- ##
==========================================
+ Coverage 49.27% 55.95% +6.68%
==========================================
Files 23 27 +4
Lines 2401 4055 +1654
==========================================
+ Hits 1183 2269 +1086
- Misses 1090 1579 +489
- Partials 128 207 +79
Continue to review full report at Codecov.
|
f68cccf
to
d69d5ab
Compare
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de>
... the image is in a custom registry or not. Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de>
By default github actions have a docker config set with a token to pull images from docker hub. Co-authored-by: Markus Wolf <markus.wolf@new-work.se>
d69d5ab
to
35568b3
Compare
* nektos#898 * nektos#891 have both been merged upstream, so they're no longer required here.
* nektos#898 * nektos#891 have both been merged upstream, so they're no longer required here.
This PR uses parts of the
docker/cli
to read the local docker config to get the authentication from it.This is helpful for private registries, which worked before, but required to pass
DOCKER_USERNAME
andDOCKER_PASSWORD
as secrets.Now it will take existing authentication information from the Docker CLI if the secrets are not explicitly passed.