Skip to content

Commit

Permalink
fix: blob directory is wrong (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn authored Feb 8, 2024
1 parent 4110a4b commit e1bbc14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oci/private/registry/crane_launcher.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ function start_registry() {
local deadline="${3:-5}"
local registry_pid="$1/proc.pid"
mkdir -p "${storage_dir}"
"${CRANE_REGISTRY_BIN}" registry serve --disk="${storage_dir}" --address=localhost:0 >> $output 2>&1 &
mkdir -p "${storage_dir}/blobs"
"${CRANE_REGISTRY_BIN}" registry serve --disk="${storage_dir}/blobs" --address=localhost:0 >> $output 2>&1 &
echo "$!" > "${registry_pid}"
local timeout=$((SECONDS+${deadline}))
Expand Down

0 comments on commit e1bbc14

Please sign in to comment.