Skip to content
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-credential-gcloud not found #1853

Open
henri-tremblay opened this issue Jan 25, 2025 · 0 comments
Open

docker-credential-gcloud not found #1853

henri-tremblay opened this issue Jan 25, 2025 · 0 comments

Comments

@henri-tremblay
Copy link
Contributor

henri-tremblay commented Jan 25, 2025

On Windows, when doing gcloud auth configure-docker, it will add be something like "us-east1-docker.pkg.dev": "gcloud" in config.json.

This works perfectly with docker command line but the docker-maven-plugin doesn't like it when running a build from PowerShell for instance.

You need to use gcloud.cmd in config.json since the executable is docker-credential-gcloud.cmd. Note that this might break usage in git bash. I haven't tried yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant