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 4607a2a commit 0a1d025
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
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:

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 @@ -45,7 +49,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 @@ -59,7 +65,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 0a1d025

Please sign in to comment.