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

Use gcloud as a docker credential helper for all GCP registries. #428

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kmontg
Copy link

@kmontg kmontg commented Jun 21, 2024

This will make the image a bit easier to use in CI where docker auth is required. However, there is a warning that having a long credential helper list (like would be added from this change) introduces slowness in docker build commands. I believe this is because docker will fetch the credentials for each registry in the config file before the build itself. An alternative would be to use the standalone credential helper, but it's not available as a gcloud component.

This will make the image a bit easier to use CI where docker auth is required.
@anindyatahsin anindyatahsin marked this pull request as ready for review October 11, 2024 14:48
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

Successfully merging this pull request may close these issues.

1 participant