From 41db6c45b256e30e7ecd9db2f31854f407779638 Mon Sep 17 00:00:00 2001 From: Joost van Zwieten Date: Wed, 14 Apr 2021 14:45:42 +0200 Subject: [PATCH] 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](https://github.com/actions/virtual-environments/issues/3080). --- .github/workflows/test.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4a0d36531..361885608 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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