File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,8 @@ def build(
146146 try :
147147 image_url = build_agent (
148148 manifest_path = manifest ,
149- registry_url = registry , # Now guaranteed to be non-None
150- repository_name = repository_name or "default-repo" , # Provide default
149+ registry_url = registry ,
150+ repository_name = repository_name ,
151151 platforms = platform_list ,
152152 push = push ,
153153 secret = secret or "" , # Provide default empty string
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class DockerBuildError(Exception):
2121def build_agent (
2222 manifest_path : str ,
2323 registry_url : str ,
24- repository_name : str ,
24+ repository_name : str | None ,
2525 platforms : list [str ],
2626 push : bool = False ,
2727 secret : str = None ,
You can’t perform that action at this time.
0 commit comments