-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
1
-
Severity 3 - Minor
-
2
-
Issue Summary
Bitbucket Pipeline make an unauthenticated calls and then authenticated calls to pull the image from private Google Artifact Registry even though the correct credentials are provided.
Steps to Reproduce
- Specify a build image from private Google Artifact Registry in YAML
- Specify the valid credentials for private Google Artifact Registry
Expected Results
Bitbucket Pipeline should make only one call with the provided credentials to pull the image.
Actual Results
- Bitbucket Pipeline first make aa unauthenticated call to pull the image
then make another call to pull the image with the provided credentials and successfully pull the image
Workaround
This is not a blocker issue.
The same issue is observed with Google Cloud Build
The same issue is not observed while pulling the same image locally
Google confirmed the cloud workstation image pull tries unauthenticated first so it doesn't leak credentials when they aren't needed.