-
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
Try .cmd file extension suffix for credential helpers on Windows #2399
Comments
It is speculated that, for a binary to be exectuable on Windows, it should have an executable extension. For example, @matthewmichihara reported that copying Therefore, it may be necessary to also try
|
@matthewmichihara can you test out the
Then, use the
|
Thank you @chanseokoh! I just tried this out and it does seem to fix the issue I was seeing. Tests I've tried: Jib
|
Thanks. Could you test |
Confirmed that both of those flags work as expected:
|
@matthewmichihara this is fixed in 2.2.0 we released last Friday. |
great, thanks! |
On Windows,
gcloud auth configure-docker
generates the following section in~/.docker/config.json
to specify that the cred helper isdocker-credential-gcloud
.The actual binary to run is
docker-credential-gcloud.cmd
. Without.cmd
, Jib doesn't seem able to run the binary.docker-compose
suffered from the same issue, and the workaround was to manually changegcloud
togcloud.cmd
in~/docker.config.json
. OTOH, apparently, Docker CLI has been working without.cmd
.The text was updated successfully, but these errors were encountered: