From 1f4d7f4afbbed6e72b08de9acfdb03debc36f1b5 Mon Sep 17 00:00:00 2001 From: Mike Sullivan Date: Fri, 9 Aug 2024 17:02:30 +0100 Subject: [PATCH] Prune between Docker builds --- .github/workflows/build_docker.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build_docker.yaml b/.github/workflows/build_docker.yaml index 2b217742734..f36d664c99c 100644 --- a/.github/workflows/build_docker.yaml +++ b/.github/workflows/build_docker.yaml @@ -60,6 +60,11 @@ jobs: tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:ubuntu18 labels: ${{ steps.meta.outputs.labels }} + - name: Prune Docker Volumes + shell: bash -l {0} + run: + docker system prune --volumes -f + - name: Build and push Rocky8 Docker image uses: docker/build-push-action@v4 with: