We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2750d4 + d3e7407 commit b7ebeb4Copy full SHA for b7ebeb4
rule_action.go
@@ -287,6 +287,8 @@ var BrandingIcons = map[string]struct{}{
287
// https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsimage
288
func isImageOnDockerRegistry(image string) bool {
289
return strings.HasPrefix(image, "docker://") ||
290
+ strings.HasPrefix(image, "gcr.io/") ||
291
+ strings.HasPrefix(image, "pkg.dev/") ||
292
strings.HasPrefix(image, "ghcr.io/") ||
293
strings.HasPrefix(image, "docker.io/")
294
}
0 commit comments