From 39aae66c069ea1063db882965c584247a7d67221 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Tue, 8 Oct 2024 09:27:43 +1100 Subject: [PATCH] fix: prune docker images --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 983e813419..8a833a2afa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -354,6 +354,12 @@ jobs: with: name: kube-report-${{ matrix.test }} path: /tmp/ftl-kube-report/ + - name: Teardown Cluster + if: always() # Always cleanup the cluster even on failure + run: just teardown-cluster + - name: Delete Images + if: always() # We don't want to cache these images, delete them before the cache action + run: docker image prune -f integration-success: name: Integration Success needs: [integration-run]