Skip to content

Commit 0659b15

Browse files
dockerfile name in yml
1 parent 35633bd commit 0659b15

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/ppc64le.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,28 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16+
linux-ppc64le-docker-image-build:
17+
name: Build docker image for ppc64le
18+
runs-on: linux.ppc64le
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v3
22+
- name: Set up Docker Buildx
23+
uses: docker/setup-buildx-action@v2
24+
- name: Remove old untagged images (optional cleanup)
25+
run: |
26+
docker image prune -a -f
27+
- name: Build Docker image for ppc64le
28+
run: |
29+
docker build -f .github/workflows/Dockerfile.ppc64le -t pytorch-ppc64le:ubi9.3 .
30+
1631
linux-ubi-9-3-cpu-ppc64le-build:
1732

1833
name: linux-ubi9-3-cpu-ppc64le
1934
uses: ./.github/workflows/_linux-build.yml
35+
needs: linux-ppc64le-docker-image-build
2036
with:
2137
build-environment: linux-ppc64le-binary-manywheel
22-
docker-image-name: pytorch/ubi9-ppc64le-builder:cpu-ppc64le-main
38+
docker-image-name: pytorch-ppc64le:ubi9.3
2339
runner: linux.ppc64le # Example runner
2440

0 commit comments

Comments
 (0)