From 59a87f6f918e0ce90b59862c5761ed1c8a91eb15 Mon Sep 17 00:00:00 2001 From: charly-bg <85914018+charly-bg@users.noreply.github.com> Date: Fri, 23 Aug 2024 18:31:05 -0300 Subject: [PATCH] adding debbuging commands --- .github/workflows/docker.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b79c1307..1b5c4ee6 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -63,7 +63,6 @@ jobs: docker images df -h docker system df - sudo du -sh /var/lib/containers/ for img in $(buildah images -q --filter=reference=docker.io/unityci/editor) $(buildah images -q --filter=reference=docker.io/library/node); do buildah rmi $img done @@ -73,14 +72,13 @@ jobs: buildah images df -h docker system df - sudo du -sh /var/lib/containers/ buildah push localhost/${{ matrix.service_name }}:${{ github.sha }} docker-archive:temp.tar gzip temp.tar - docker load -i temp.tar + docker load -i temp.tar.gz sudo find / -type d \( -name "mnt" -o -name "proc" \) -prune -o -type f -exec du -h {} + | sort -rh | head -n 10 df -h docker system df - rm -f temp.tar + rm -f temp.tar.gz sudo find / -type d \( -name "mnt" -o -name "proc" \) -prune -o -type f -exec du -h {} + | sort -rh | head -n 10 df -h docker images