From e84081769e95aadd302110e198267dc7475fdbc0 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sun, 16 Feb 2025 09:20:07 +0100 Subject: [PATCH] chore(ci): cleanup before pulling images again --- .github/workflows/image_build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/image_build.yml b/.github/workflows/image_build.yml index 9ad612b6..a84af8d0 100644 --- a/.github/workflows/image_build.yml +++ b/.github/workflows/image_build.yml @@ -310,6 +310,11 @@ jobs: tags: ${{ steps.meta_aio_dockerhub.outputs.tags }} labels: ${{ steps.meta_aio_dockerhub.outputs.labels }} + - name: Cleanup + run: | + docker builder prune -f + docker system prune --force --volumes --all + - name: Latest tag # run this on branches, when it is a tag and there is a latest-image defined if: github.event_name != 'pull_request' && inputs.latest-image != '' && github.ref_type == 'tag'