Skip to content

Commit

Permalink
Force absolute path both for DOCKER_MIGRID_ROOT and MIG_SYSTEM_RUN in…
Browse files Browse the repository at this point in the history
… CI.
  • Loading branch information
jonasbardino committed Mar 23, 2024
1 parent a35be74 commit afbe2bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ jobs:
- name: Build images
run: |
make init
echo "# NOTE: try absolute path to current dir to get docker ro-mount to work" > ci.env
echo "# NOTE: use absolute paths to current dir to get docker bind mounts to work" > ci.env
echo "DOCKER_MIGRID_ROOT=$PWD" >> ci.env
echo "MIG_SYSTEM_RUN=$PWD/state/mig_system_run" >> ci.env
echo "" >> ci.env
grep -v DOCKER_MIGRID_ROOT .env >> ci.env
grep -v "DOCKER_MIGRID_ROOT=|MIG_SYSTEM_RUN=" .env >> ci.env
rm -f .env
mv ci.env .env
make dockerbuild
Expand Down

0 comments on commit afbe2bb

Please sign in to comment.