Skip to content

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

Open
kmontg wants to merge 1 commit intoGoogleCloudPlatform:masterfrom
kmontg:docker-cred-helper
Open

Use gcloud as a docker credential helper for all GCP registries.#428
kmontg wants to merge 1 commit intoGoogleCloudPlatform:masterfrom
kmontg:docker-cred-helper

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