Skip to content

Commit c74f41d

Browse files
dockerfile name in yml
1 parent 77fb372 commit c74f41d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ppc64le.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 &&

0 commit comments

Comments
 (0)