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 cb249d1 commit 177f47b
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 All @@ -33,7 +35,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 @@ -45,7 +49,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 @@ -57,7 +63,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 @@ -72,7 +80,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 177f47b

Please sign in to comment.