Skip to content

Commit

Permalink
fix: Support private repository login
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Jul 26, 2024
1 parent 57f6f48 commit d85a358
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ai/backend/common/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ async def login(
"""
basic_auth: Optional[aiohttp.BasicAuth]

# TODO: Fix this.
if "public.ecr" in str(registry_url):
if "public.ecr" in str(registry_url) or "dkr.ecr" in str(registry_url):
return {
"auth": None,
"headers": {
Expand Down

0 comments on commit d85a358

Please sign in to comment.