Skip to content

Commit d576925

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

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: shpc/main/container/singularity.py

+2-1
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

Diff for: shpc/settings.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ container_tech: singularity
1616
# Registry Recipes (order of GitHub providers or paths here is honored for search path))
1717
# To reference a path in the $PWD of the shpc install use $root_dir (e.g., $root_dir/registry)
1818
# Please preserve the flat list format for the yaml loader
19-
registry: [https://github.com/singularityhub/shpc-registry]
19+
registry: [/home/vanessa/Desktop/Code/shpc-registry]
2020

2121
# Registry to sync from (only to a filesystem registry supported)
2222
sync_registry: https://github.com/singularityhub/shpc-registry
@@ -106,3 +106,4 @@ container_features:
106106
# defaults to ~/.Xauthority if set to true and the container has x11: true
107107
home: # one of null, or a single path or src:dest path.
108108
# home: true in a container.yaml will use this path, if defines
109+
updated_at: '2023-07-03T18:11:46Z'

0 commit comments

Comments
 (0)