Skip to content

Commit

Permalink
Detect GHCR images (#3509)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwateratmsft authored May 5, 2022
1 parent 1972b83 commit f0096f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/images/tagImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const KnownRegistries: { type: string, regex: RegExp }[] = [
{ type: 'dockerhub-namespace', regex: /^[^.:]+\/[^.:]+$/ },

{ type: 'dockerhub-dockerio', regex: /^docker.io.*\// },
{ type: 'github', regex: /ghcr\.io.*\// },
{ type: 'gitlab', regex: /gitlab.*\// },
{ type: 'ACR', regex: /azurecr\.io.*\// },
{ type: 'GCR', regex: /gcr\.io.*\// },
Expand Down

0 comments on commit f0096f7

Please sign in to comment.