File tree Expand file tree Collapse file tree 2 files changed +25
-4
lines changed
Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,15 @@ jobs:
132132 role-session-name : gha-linux-build
133133 aws-region : us-east-1
134134
135+ - name : Download Docker image artifact
136+ uses : actions/download-artifact@v4
137+ with :
138+ name : manylinuxppc64le-builder-image
139+
140+ - name : Load Docker image
141+ run : |
142+ docker load -i manylinuxppc64le-builder.tar
143+
135144 - name : Calculate docker image
136145 id : calculate-docker-image
137146 uses : pytorch/test-infra/.github/actions/calculate-docker-image@main
Original file line number Diff line number Diff line change @@ -17,14 +17,25 @@ jobs:
1717 steps :
1818 - name : Checkout repository
1919 uses : actions/checkout@v3
20- with :
21- fetch-depth : 0
22- submodules : true
20+
21+ - name : Set up Docker Buildx
22+ uses : docker/setup-buildx-action@v2
23+
2324 - name : Set up Docker Buildx
2425 uses : docker/setup-buildx-action@v2
2526 - name : Build Docker image for ppc64le
2627 run : |
2728 docker build -f .ci/docker/manywheel/Dockerfile_ppc64le -t manylinuxppc64le-builder .
29+
30+ - name : Save Docker image to tarball
31+ run : |
32+ docker save manylinuxppc64le-builder -o manylinuxppc64le-builder.tar
33+
34+ - name : Upload image artifact
35+ uses : actions/upload-artifact@v4
36+ with :
37+ name : manylinuxppc64le-builder-image
38+ path : manylinuxppc64le-builder.tar
2839
2940 linux-manylinux-2_28-py3-cpu-ppc64le-build :
3041
3546 build-environment : linux-ppc64le-binary-manywheel
3647 docker-image-name : manylinuxppc64le-builder
3748 runner : ubuntu-24.04-ppc64le
38- secrets : inherit
49+ secrets : inherit
50+
You can’t perform that action at this time.
0 commit comments