Skip to content

Commit 5052c16

Browse files
authored
Merge pull request #680 from JessMWalters/JessMWalters-patch-1
Add another valid container repository to our list.
2 parents 87a9842 + 0719edb commit 5052c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/gce/gcpcredential/gcpcredential.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var GCEProductNameFile = "/sys/class/dmi/id/product_name"
4848

4949
// For these urls, the parts of the host name can be glob, for example '*.gcr.io" will match
5050
// "foo.gcr.io" and "bar.gcr.io".
51-
var containerRegistryUrls = []string{"container.cloud.google.com", "gcr.io", "*.gcr.io", "*.pkg.dev"}
51+
var containerRegistryUrls = []string{"container.cloud.google.com", "gcr.io", "*.gcr.io", "*.pkg.dev", "docker.*.goog"}
5252

5353
var metadataHeader = &http.Header{
5454
"Metadata-Flavor": []string{"Google"},

0 commit comments

Comments
 (0)