diff --git a/src/commands/images/tagImage.ts b/src/commands/images/tagImage.ts index 756d040d41..1691d5d574 100644 --- a/src/commands/images/tagImage.ts +++ b/src/commands/images/tagImage.ts @@ -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.*\// },