Skip to content

Commit

Permalink
remove --user option for container, try chown instead
Browse files Browse the repository at this point in the history
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
  • Loading branch information
koomie committed Mar 21, 2024
1 parent 01d41bd commit 79aba89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rhel-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 79aba89

Please sign in to comment.