Skip to content

Commit 9e7d468

Browse files
fix rootless Buildah mount prob. in Github Actions
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).
1 parent 9a9e99b commit 9e7d468

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ jobs:
134134
name: Build container image
135135
needs: build-python-package
136136
runs-on: ubuntu-20.04
137+
env:
138+
# Fixes https://github.com/actions/virtual-environments/issues/3080
139+
STORAGE_OPTS: overlay.mount_program=/usr/bin/fuse-overlayfs
137140
steps:
138141
- name: Checkout
139142
uses: actions/checkout@v2

0 commit comments

Comments
 (0)