From 7f9b5175863292d6ca613dde9aad2e2933572ee6 Mon Sep 17 00:00:00 2001 From: Dima Krasner Date: Thu, 5 Oct 2023 09:55:14 +0000 Subject: [PATCH] map host --- .github/workflows/dpup-kernel.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dpup-kernel.yml b/.github/workflows/dpup-kernel.yml index cdc716b40c5..677607d0481 100644 --- a/.github/workflows/dpup-kernel.yml +++ b/.github/workflows/dpup-kernel.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-20.04 container: image: debian:${{ matrix.release }}-slim + volumes: + - /usr:/hostusr continue-on-error: ${{ matrix.release == 'sid' }} strategy: matrix: @@ -46,7 +48,7 @@ jobs: cat /proc/mounts find / -name dotnet find / -name android - rm -rvf /var/lib/docker/*/*/*{usr/local/lib/android,usr/share/dotnet,opt/ghc,usr/local/share/boost} + rm -rvf /hostusr/local/lib/android /hostusr/share/dotnet /hostusr/local/share/boost df -h / exit 1 [ ${{ matrix.release }} = sid ] || echo "deb http://deb.debian.org/debian ${{ matrix.release }} main contrib non-free" > /etc/apt/sources.list