Skip to content

Commit 6d464a8

Browse files
dockerfile name in yml
1 parent b73d63f commit 6d464a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/Dockerfile.ppc64le

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN source /opt/rh/gcc-toolset-13/enable && pip install -r requirements.txt
2424
#RUN pip install -r requirements.txt
2525

2626
# Copy the PyTorch source code into the container
27-
COPY . /workspace/pytorch
27+
#COPY . /workspace/pytorch
2828

2929
# Copy the build script and make it executable
3030
COPY .github/scripts/ppc64le-build.sh /ppc64le-build.sh
@@ -35,4 +35,4 @@ RUN dos2unix /ppc64le-build.sh || sed -i 's/\r$//' /ppc64le-build.sh
3535
RUN chmod +x /ppc64le-build.sh
3636

3737
# Use CMD to run the script
38-
CMD ["/ppc64le-build.sh"]
38+
#CMD ["/ppc64le-build.sh"]

.github/workflows/_linux-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ jobs:
205205
- name: Run Docker container and execute build script
206206
if: inputs.build-environment == 'linux-ppc64le-binary-manywheel'
207207
run: |
208-
docker run --rm -v $(pwd)/dist:/workspace/pytorch/dist ${{ inputs.docker-image-name }} /ppc64le-build.sh
208+
docker run --rm -v "${GITHUB_WORKSPACE}:/workspace/pytorch" ${{ inputs.docker-image-name }} /ppc64le-build.sh
209209
210210
- name: Build
211211
if: (steps.filter.outputs.is-test-matrix-empty == 'False' || inputs.test-matrix == '' ) && (inputs.build-environment != 'linux-ppc64le-binary-manywheel')

0 commit comments

Comments
 (0)