From 986a2d8fc976501401fdf342e7d2e98ce5d58b79 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Tue, 8 Oct 2024 11:12:09 +1100 Subject: [PATCH] fix: prune docker images (#3023) --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 983e813419..9c6743678e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -354,6 +354,13 @@ jobs: with: name: kube-report-${{ matrix.test }} path: /tmp/ftl-kube-report/ + - name: Teardown Cluster + working-directory: deployment + 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 rm localhost:5000/ftl-runner:latest ftl-runner:latest ftl-controller:latest localhost:5000/ftl-controller:latest integration-success: name: Integration Success needs: [integration-run]