-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
[Proposal] Embed credentials helper to simplify push / pull process #125
Comments
Is the machine where you're running Timoni in GCP? If so, we can add PS. The OIDC auth for Google Artifact Registry, ECR and ACR are already implemented in |
Ah, didn't try passing the flag. Indeed I dive (after creating the issue) in the code and saw we were using |
How is As for UX, I prefer to explicitly tell the tool which auth method to use, instead of magically try to mix OIDC with existing docker configs. |
Currently in order to push / pull an image from Google Artifact Registry, we have to use GoogleCloudPlatform/docker-credential-gcr to generate the proper
~/.docker/config.json
.It works but there's a simpler UX solution: using the helper directly.
It's done by Kaniko for example:
https://github.com/GoogleContainerTools/kaniko/blob/eea12bd0259c37f04443cca47f4aac3bf82d8c31/tools/tools.go#L25-L27
The text was updated successfully, but these errors were encountered: