Skip to content

Commit

Permalink
update base image from centos7 to almalinux 8
Browse files Browse the repository at this point in the history
  • Loading branch information
taoboyang committed Jul 29, 2024
1 parent f9b32aa commit e304b5e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build_manylinux_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
arch: [x86_64, i686, aarch64, ppc64le, s390x] #aarch64 is easyly timeout in github action, maybe need to build in local
timeout-minutes: 1200
arch: [x86_64, aarch64, ppc64le, s390x] #aarch64 is easyly timeout in github action, maybe need to build in local
timeout-minutes: 3600
steps:
- name: Check out
uses: actions/checkout@v3
Expand All @@ -24,7 +24,6 @@ jobs:
with:
repository: pypa/manylinux
path: manylinux
ref: 02cacafe8f8c82b06f71b7e9c242fd7b187f2c34

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand All @@ -34,9 +33,9 @@ jobs:
- name: rebuild manylinux images with shared python libraries for arch ${{ matrix.arch }}
run: |
cd manylinux
git apply ../build_docker/patch/shared_python_based_02cacafe8f8c82b06f71b7e9c242fd7b187f2c34.patch
PLATFORM=${{ matrix.arch }} POLICY=manylinux2014 COMMIT_SHA=latest ./build.sh
docker image tag quay.io/pypa/manylinux2014_${{ matrix.arch }}:latest smartbrave/manylinux2014_${{ matrix.arch }}_shared_python:latest
bash ../build_docker/patch/patch_based_02cacafe8f8c82b06f71b7e9c242fd7b187f2c34.sh
PLATFORM=${{ matrix.arch }} POLICY=manylinux_2_28 COMMIT_SHA=latest ./build.sh
docker image tag quay.io/pypa/manylinux_2_28_${{ matrix.arch }}:latest babitmf/manylinux_2_28_${{ matrix.arch }}_shared_python:latest
- name: Login to Docker Hub
uses: docker/login-action@v2
Expand All @@ -46,4 +45,4 @@ jobs:

- name: Push image
run: |
docker push smartbrave/manylinux2014_${{ matrix.arch }}_shared_python:latest
docker push babitmf/manylinux_2_28_${{ matrix.arch }}_shared_python:latest

0 comments on commit e304b5e

Please sign in to comment.