Skip to content

Commit d9c69ba

Browse files
committed
Fix top-level name attribute interpolation
fixes #1319 Signed-off-by: Jonathan Sling <slingjonathan@gmail.com>
1 parent e999eae commit d9c69ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

podman_compose.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2437,6 +2437,7 @@ def _parse_compose_file(self) -> None:
24372437
project_name = content.get("name")
24382438
if not project_name:
24392439
project_name = dir_basename.lower()
2440+
project_name = rec_subs(project_name, self.environ)
24402441
# More strict then actually needed for simplicity:
24412442
# podman requires [a-zA-Z0-9][a-zA-Z0-9_.-]*
24422443
project_name_normalized = norm_re.sub("", project_name)

0 commit comments

Comments
 (0)