Skip to content

Commit

Permalink
GitHub Actions workaround: use --privileged option
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Oct 1, 2021
1 parent 0d3e081 commit 865fa45
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ jobs:

Package:
runs-on: ubuntu-latest
container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
container:
image: registry.opensuse.org/yast/head/containers/yast-ruby:latest
options: --privileged

steps:

Expand All @@ -59,7 +61,9 @@ jobs:

Yardoc:
runs-on: ubuntu-latest
container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
container:
image: registry.opensuse.org/yast/head/containers/yast-ruby:latest
options: --privileged

steps:

Expand All @@ -73,7 +77,9 @@ jobs:
# checks into one job avoids that overhead
Checks:
runs-on: ubuntu-latest
container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
container:
image: registry.opensuse.org/yast/head/containers/yast-ruby:latest
options: --privileged

steps:

Expand Down

0 comments on commit 865fa45

Please sign in to comment.