Skip to content

Commit 19eca0d

Browse files
authored
Merge pull request #122 from jayantpranjal0/google_artifact_registry
Added support for google artifact registry with .pkg.dev/
2 parents c65bb2c + 2b2a89a commit 19eca0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudsupport/cloudvendorregistrycreds.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func excahngeAzureAADAccessTokenForACRRefreshToken(registry, tenantID, azureAADA
195195

196196
func CheckIsGCRImage(imageTag string) bool {
197197
// gcr.io/elated-pottery-310110/golang-inf:2
198-
return strings.Contains(imageTag, "gcr.io/")
198+
return strings.Contains(imageTag, "gcr.io/") || strings.Contains(imageTag, ".pkg.dev/")
199199
}
200200

201201
// GetLoginDetailsForGCR return user name + password to use

0 commit comments

Comments
 (0)