mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-24 08:35:26 +02:00
fix: automatically converting username to lowercase both in creation of register, and build for extra. (#4382)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user