Skip to content

Commit e1bbc14

Browse files
authored
fix: blob directory is wrong (#498)
1 parent 4110a4b commit e1bbc14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oci/private/registry/crane_launcher.sh.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ function start_registry() {
77
local deadline="${3:-5}"
88
local registry_pid="$1/proc.pid"
99
10-
mkdir -p "${storage_dir}"
11-
"${CRANE_REGISTRY_BIN}" registry serve --disk="${storage_dir}" --address=localhost:0 >> $output 2>&1 &
10+
mkdir -p "${storage_dir}/blobs"
11+
"${CRANE_REGISTRY_BIN}" registry serve --disk="${storage_dir}/blobs" --address=localhost:0 >> $output 2>&1 &
1212
echo "$!" > "${registry_pid}"
1313
1414
local timeout=$((SECONDS+${deadline}))

0 commit comments

Comments
 (0)