remove --user option for container, try chown instead

Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
Cette révision appartient à :
Karl W. Schulz a révisé 2024-03-21 11:05:15 -05:00
1 Parent 01d41bd428
révision 79aba89337
1 fichier modifié
+2 -1
+2 -1
Voir le fichier
@@ -23,7 +23,6 @@ jobs:
runs-on: ubuntu-latest
container:
image: colramos/target-images:rhel8
options: --user="$(id --user):$(id --group)"
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install baseline OS dependencies
@@ -37,6 +36,8 @@ jobs:
uses: actions/checkout@v4
- name: Install Python prereqs
run: |
# https://github.com/actions/runner/issues/2033
chown -R $(id -u):$(id -g) $PWD
python3.9 -m pip install -r requirements.txt
python3.9 -m pip install pyinstaller pytest pytest-cov mock
- name: Configure and install