Skip to content

Commit

Permalink
Cleanup docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
SaaldjorMike committed Aug 2, 2024
1 parent 34048e4 commit da0c543
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 5 additions & 2 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit da0c543

Please sign in to comment.