From 2b6eb5f23d82429c5d3ac0bdbcc8a6702ab2b854 Mon Sep 17 00:00:00 2001 From: rudy Date: Fri, 8 Apr 2022 14:41:38 +0200 Subject: [PATCH] feat(ci): freeing some space this is useful for commits changing many tests this simply clear the docker cache --- .github/workflows/continuous-integration.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 0788c1c49..477af0267 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -52,6 +52,20 @@ jobs: matrix: compiler: [gcc7, latest] steps: + # Free 4Gb of workspace + - name: Freeing space + run: | + df -h + for image in ubuntu:{16,18}.04 \ + node:{12,14,16}{-alpine,} \ + buildpack-deps:{stretch,buster,bullseye} \ + debian:{9,10,11} alpine:3.{12,13,14} \ + moby/buildkit:latest docker:20.10 + do + docker image rm $image || echo Please clean remove it from this step + done + df -h + - uses: actions/checkout@v2 with: submodules: recursive