File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,19 +31,19 @@ jobs:
3131
3232 - name : Debug .git directory inside container
3333 run : |
34- docker run --rm -v "$(pwd)/pytorch/pytorch :/workspace/pytorch" pytorch-ppc64le:ubi9.3 bash -c "ls -la /workspace/pytorch/.git || echo '.git directory not found'"
34+ docker run --rm -v "$(pwd):/workspace/pytorch" pytorch-ppc64le:ubi9.3 bash -c "ls -la /workspace/pytorch/.git || echo '.git directory not found'"
3535
3636 - name : Debug ownership inside container
3737 run : |
38- docker run --rm -v "$(pwd)/pytorch :/workspace/pytorch" pytorch-ppc64le:ubi9.3 bash -c "
38+ docker run --rm -v "$(pwd):/workspace/pytorch" pytorch-ppc64le:ubi9.3 bash -c "
3939 ls -ld /workspace/pytorch;
4040 ls -ld /workspace/pytorch/.git;
4141 whoami"
4242
4343
4444 - name : Run Docker container and execute build script
4545 run : |
46- docker run --rm -v "$(pwd)/pytorch :/workspace/pytorch/pytorch" pytorch-ppc64le:ubi9.3 bash -c "
46+ docker run --rm -u $(id -u):$(id -g) - v "$(pwd):/workspace/pytorch/pytorch" pytorch-ppc64le:ubi9.3 bash -c "
4747 export GIT_DISCOVERY_ACROSS_FILESYSTEM=1 &&
4848 git config --global --add safe.directory /workspace/pytorch &&
4949 git -C /workspace/pytorch submodule deinit --all --force &&
You can’t perform that action at this time.
0 commit comments