Skip to content

fix(registry): preserve registry username casing#4635

Open
zexxitywave wants to merge 1 commit into
Dokploy:canaryfrom
zexxitywave:fix-ecr-registry-username-case
Open

fix(registry): preserve registry username casing#4635
zexxitywave wants to merge 1 commit into
Dokploy:canaryfrom
zexxitywave:fix-ecr-registry-username-case

Conversation

@zexxitywave

Copy link
Copy Markdown

Summary

Preserve registry username casing during authentication by removing schema-level lowercasing from registryUsernameSchema.

AWS ECR requires the username to be exactly AWS during docker login. Lowercasing the username causes authentication to fail.

Changes

  • Removed .transform((s) => s.toLowerCase()) from registryUsernameSchema

Notes

Image namespace normalization is still handled separately in:

packages/server/src/utils/cluster/upload.ts

via:

(imagePrefix || username).toLowerCase()

so existing image naming behavior remains unchanged.

Fixes #4632

@zexxitywave zexxitywave requested a review from Siumauricio as a code owner June 14, 2026 15:00
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AWS ECR authentication fails because registry usernames are forcibly lowercased

1 participant