File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 2929 run : |
3030 docker build -f .github/workflows/Dockerfile.ppc64le -t pytorch-ppc64le:ubi9.3 .
3131
32+ - name : Create Docker Volume
33+ run : docker volume create pytorch_workspace
34+
35+ - name : Copy Repository to Docker Volume
36+ run : |
37+ docker run --rm \
38+ -v pytorch_workspace:/workspace/pytorch \
39+ -v "${{ github.workspace }}:/repo" \
40+ ubuntu bash -c "cp -r /repo/* /workspace/pytorch/"
41+
3242 - name : Run Docker container and execute build script
3343 run : |
34- docker run --rm -u $(id -u):$(id -g) -v /var/run/docker.sock:/var/run/docker.sock -v "${{ github.workspace }} :/workspace/pytorch" pytorch-ppc64le:ubi9.3 /ppc64le-build.sh
44+ docker run --rm -u $(id -u):$(id -g) -v "pytorch_workspace :/workspace/pytorch" pytorch-ppc64le:ubi9.3 /ppc64le-build.sh
3545
3646
3747
You can’t perform that action at this time.
0 commit comments