Skip to content

Commit

Permalink
container dir should have module name
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Jul 6, 2023
1 parent 0f271ae commit 4553cc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shpc/main/container/singularity.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ def _add_local_image(

else:
# Destination for container in registry
dest_dir = self.settings.container_base or os.path.dirname(container_yaml)
container_dir = self.container_dir(name)
dest_dir = container_dir or os.path.dirname(container_yaml)

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

0 comments on commit 4553cc4

Please sign in to comment.