diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index bb666372..843bc385 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -48,11 +48,10 @@ jobs: GINKGO_NODES: "6" run: | hack/run-e2e-using-kind.sh - - name: cleanup kind + - name: cleanup kind and docker files if: always() run: | curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64 chmod +x ./kind ./kind delete cluster || true make clean - docker image prune -f diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 566be3e2..5b549173 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -68,5 +68,8 @@ jobs: chmod +x ./kind ./kind delete cluster || true make clean - docker image prune -f - docker buildx prune --all -f + + echo cleaning up docker files as kind load docker-image seems to leave dangling files in the data directory that docker does not detect and so pruning with docker cli doesnt work + sudo systemctl stop docker + sudo rm -rf /var/lib/docker + sudo systemctl start docker