-
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
Possible NPE from DockerConfigCredentialRetriever with 2.4.0 #2535
Comments
@Gsealy we will fix this bug in the upcoming release (most likely 2.5.0). However, this is unrelated to #2527 (that is, the issue about the The triggering factor is probably that there is an entry in the
So, if it worked with 2.3.0, I think a workaround would be to remove the In any case, we will fix this, and the next version will not throw NPE whether or not an entry has the |
yes, in {
"auths": {
"hub.gsealy.cn": {}
},
"HttpHeaders": {
"User-Agent": "Docker-Client/19.03.8 (windows)"
},
"credsStore": "desktop",
"stackOrchestrator": "swarm"
} use
|
@Gsealy until we release Jib 2.5.0, for now (2.4.0) you can set
Or, in <from>
<image>...</image>
<credHelper>desktop.exe</credHelper>
</from> You can also do this on the command-line with This issue that Jib doesn't try |
@chanseokoh thanks! |
@Gsealy Jib Maven 2.5.2 and Jib Gradle 2.5.0 are released with the fix. It should be OK to have an |
@Gsealy reported NPE on Jib 2.4.0. This looks like a regression introduced by #2489.
Environment:
Windows Terminal
docker for windows version:
jib-maven-plugin
Configuration:description:
we are use harbor for docker registry at inner network, and use Let's encrypt cert for ssl.
2.3.0
also print warning but build succeed.I don't find
docker-credential-desktop.cmd
in system, just havedocker-credential-desktop.exe
but
2.4.0
was facing the NPEOriginally posted by @Gsealy in #2527 (comment)
The text was updated successfully, but these errors were encountered: