Skip to content

Commit 24bd86c

Browse files
committed
Put output in a subdirectory of $HOME to avoid permissions issues for docker CI
1 parent 291761e commit 24bd86c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci_docker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
- name: Test
3636
run: |
3737
docker pull ${{ env.TEST_TAG }}
38-
echo $HOME
39-
chmod +rw -R $HOME
40-
ls -al $HOME
41-
docker run --rm -v $HOME:/home ${{ env.TEST_TAG }} ./run_scm.py -c twpice -d
38+
mkdir $HOME/output
39+
chmod +rw -R $HOME/output
40+
ls -al $HOME/output
41+
docker run --rm -v $HOME/output:/home ${{ env.TEST_TAG }} ./run_scm.py -c twpice -d
4242
- name: Build and push
4343
uses: docker/build-push-action@v5
4444
with:

0 commit comments

Comments
 (0)