Skip to content

Commit 2670c92

Browse files
committed
Bind mount spack directory to share state between tutorial sections
Signed-off-by: Alec Scott <scott112@llnl.gov>
1 parent 4d84389 commit 2670c92

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/outputs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ jobs:
4343
- name: Re-generate outputs from tutorial scripts
4444
run: |
4545
chmod -R a+w outputs
46-
make -C outputs -j $(nproc) DOCKER_RUN_OPTS="-e COLUMNS=94 -e COLIFY_SIZE=24x94" container=ghcr.io/spack/tutorial
46+
DOCKER_RUN_OPTS="-e COLUMNS=94 -e COLIFY_SIZE=24x94 -v $(cwd)/spack:/home/spack/spack"
47+
make -C outputs -j $(nproc) DOCKER_RUN_OPTS="$DOCKER_RUN_OPTS" container=ghcr.io/spack/tutorial
4748
4849
- name: Show diff of modified files
4950
run: |

0 commit comments

Comments
 (0)