Skip to content

Commit

Permalink
fix rootless Buildah mount prob. in Github Actions
Browse files Browse the repository at this point in the history
Due to a recent change in Buildah and a configuration error in the Github
virtual environment, Buildah cannot mount layers in rootless mode. This patch
fixes the problem by explicitly specifying the correct mount program to use, as
suggested in [this bug
report](actions/runner-images#3080).
  • Loading branch information
joostvanzwieten committed Apr 14, 2021
1 parent 50a7a30 commit 41db6c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ jobs:
name: Build container image
needs: build-python-package
runs-on: ubuntu-20.04
env:
# Fixes https://github.com/actions/virtual-environments/issues/3080
STORAGE_OPTS: overlay.mount_program=/usr/bin/fuse-overlayfs
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 41db6c4

Please sign in to comment.