Skip to content

Commit

Permalink
Update build.depl and build.fob with path handling
Browse files Browse the repository at this point in the history
  • Loading branch information
enfreck authored Jan 23, 2023
1 parent 3b376da commit aeb234b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ectf_tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def depl(
depl_dir = str(design.resolve() / depl_in)
output = await run_shell(
"docker run"
f" -v {depl_dir}:/depl_in:ro"
f' -v "{depl_dir}":/depl_in:ro'
f" -v {image}.{name}.{deployment}.secrets.vol:/secrets"
" --workdir=/depl_in"
f" {tag} make SECRETS_DIR=/secrets"
Expand Down Expand Up @@ -257,8 +257,8 @@ async def make_dev(
# Compile
output = await run_shell(
"docker run"
f" -v {str(dev_in)}:/dev_in:ro"
f" -v {str(dev_out)}:/dev_out"
f' -v "{str(dev_in)}":/dev_in:ro'
f' -v "{str(dev_out)}":/dev_out'
f" -v {image}.{name}.{deployment}.secrets.vol:/secrets"
" --workdir=/root"
f" {tag} /bin/bash -c"
Expand Down

0 comments on commit aeb234b

Please sign in to comment.