Skip to content

Commit 5e77d8c

Browse files
Update build step to use shared Python image
1 parent 628327d commit 5e77d8c

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/release-binaries.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
steps:
6060
- uses: actions/checkout@v4
6161

62-
- name: Build inside manylinux2014 (glibc 2.17)
62+
- name: Build inside manylinux2014 + shared Python (glibc 2.17)
6363
env:
6464
VERSION: ${{ needs.tag.outputs.version }}
6565
run: |
@@ -69,13 +69,12 @@ jobs:
6969
-v "${{ github.workspace }}:/workspace" \
7070
-w /workspace \
7171
-e VERSION="$VERSION" \
72-
quay.io/pypa/manylinux2014_x86_64 \
72+
ghcr.io/yt-dlp/manylinux2014_x86_64-shared \
7373
bash -c '
7474
set -euo pipefail
75-
PY=/opt/python/cp311-cp311/bin/python
76-
$PY -m pip install -q -U pip wheel pyinstaller
77-
$PY -m pip install -q ".[all]"
78-
$PY -m PyInstaller \
75+
py3.13 -m pip install -q -U pip wheel pyinstaller
76+
py3.13 -m pip install -q ".[all]"
77+
py3.13 -m PyInstaller \
7978
--onefile \
8079
--noconfirm \
8180
--strip \

0 commit comments

Comments
 (0)