Skip to content

Commit 4553cc4

Browse files
committed
container dir should have module name
Signed-off-by: vsoch <[email protected]>
1 parent 0f271ae commit 4553cc4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shpc/main/container/singularity.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ def _add_local_image(
146146

147147
else:
148148
# Destination for container in registry
149-
dest_dir = self.settings.container_base or os.path.dirname(container_yaml)
149+
container_dir = self.container_dir(name)
150+
dest_dir = container_dir or os.path.dirname(container_yaml)
150151

151152
# The destination container in the registry folder
152153
container_name = "%s.sif" % container_digest

0 commit comments

Comments
 (0)