You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the issue:
Images with path gcr.io are correctly able to use GOOGLE_APPLICATION_CREDENTIALS to resolve the ability to upload. *-docker.pkg.dev Google Artifact Registry cannot leverage this same technique.
Expected behavior:
I believe Google Artifact Registry should use *-docker.pkg.dev to give the same first class treatment of Application Default Credentials
Environment:
Description of the issue:
Images with path gcr.io are correctly able to use GOOGLE_APPLICATION_CREDENTIALS to resolve the ability to upload.
*-docker.pkg.dev
Google Artifact Registry cannot leverage this same technique.Expected behavior:
I believe Google Artifact Registry should use
*-docker.pkg.dev
to give the same first class treatment of Application Default CredentialsMight just need to add this path here? --
jib/jib-core/src/main/java/com/google/cloud/tools/jib/frontend/CredentialRetrieverFactory.java
Line 243 in 0ed7dca
Steps to reproduce:
gcr.io
image path w/ Success-docker.pkg.dev
w/ no attempt to resolve via ADCjib-maven-plugin
Configuration:Log output: 403 Forbidden
Additional Information: https://cloud.google.com/artifact-registry/docs/docker/pushing-and-pulling
The text was updated successfully, but these errors were encountered: