Skip to content

Commit 136dd57

Browse files
committed
Try to run as user in ci image
1 parent 6e35ec2 commit 136dd57

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/python_wheel_build.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
env:
2323
WORKDIR: /home/runner/work/root
2424
container:
25-
image: ubuntu:latest
26-
options: '--user=cibuildwheel'
25+
image: registry.cern.ch/root-ci/ubuntu2404:buildready
26+
options: '--security-opt label=disable --user="cibuildwheel" --rm'
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@v4
@@ -32,6 +32,14 @@ jobs:
3232

3333
- name: Setup Python
3434
uses: actions/setup-python@v5
35+
with:
36+
python-version: 3.13
37+
38+
# - name: Set up Python Virtual Environment
39+
# run: |
40+
# python -m venv /py-venv/cibuildwheel-env
41+
# . /py-venv/cibuildwheel-env/bin/activate
42+
# echo PATH=$PATH >> $GITHUB_ENV
3543

3644
- name: Update repositories
3745
run: apt-get update
@@ -42,9 +50,6 @@ jobs:
4250
- name: Install XRootD client
4351
run: apt-get -y install xrootd-client
4452

45-
- name: Install ccache
46-
run: apt-get -y install ccache
47-
4853
- name: Configure large ccache
4954
if: ${{ matrix.is_special }}
5055
run: |

0 commit comments

Comments
 (0)