fix: automatically converting username to lowercase both in creation of register, and build for extra. (#4382)

This commit is contained in:
Francis
2026-05-13 03:09:47 -04:00
committed by GitHub
parent ef0cf9bd02
commit 6e342ee2f2
2 changed files with 12 additions and 5 deletions

View File

@@ -101,8 +101,8 @@ export const getRegistryTag = (registry: Registry, imageName: string) => {
// Extract the repository name (last part after '/')
const repositoryName = extractRepositoryName(imageName);
// Build the final tag using registry's username/prefix
const targetPrefix = imagePrefix || username;
// Build the final tag using registry's username/prefix (must be lowercase for valid image refs)
const targetPrefix = (imagePrefix || username).toLowerCase();
const finalRegistry = registryUrl || "";
return finalRegistry