Skip to content

Commit

Permalink
update manylinux ver
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed May 14, 2024
1 parent 176c877 commit 434f60b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
LINUX_VER: ${{ inputs.LINUX_VER }}
PYTHON_VER: ${{ inputs.PYTHON_VER }}
ARCH: ${{ matrix.ARCH }}
IMAGE_REPO: ${{ inputs.IMAGE_REPO }}
- name: Build image
uses: docker/build-push-action@v5
with:
Expand Down
15 changes: 10 additions & 5 deletions ci/compute-build-args.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
#!/bin/bash
set -euo pipefail

MANYLINUX_VER="manylinux_2_17"
if [[
"${IMAGE_REPO}" == "ci-wheel" &&
"${LINUX_VER}" != "ubuntu20.04" &&
"${LINUX_VER}" != "rockylinux8"
]]; then
echo "Unsupported LINUX_VER: ${LINUX_VER} for ci-wheel image"
exit 1
fi

MANYLINUX_VER="manylinux_2_28"
if [[
"${LINUX_VER}" == "ubuntu20.04"
]]; then
MANYLINUX_VER="manylinux_2_31"
elif [[
"${LINUX_VER}" == "rockylinux8"
]]; then
MANYLINUX_VER="manylinux_2_28"
fi

ARGS="
Expand Down

0 comments on commit 434f60b

Please sign in to comment.