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 09d0d66 commit 25a8bb9
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -8,7 +8,9 @@ on: [push, pull_request]
jobs:
Tests:
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 Expand Up @@ -37,7 +39,9 @@ jobs:

Rubocop:
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 @@ -49,7 +53,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 @@ -61,7 +67,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 @@ -75,7 +83,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 25a8bb9

Please sign in to comment.