Skip to content

Commit

Permalink
adding debbuging commands
Browse files Browse the repository at this point in the history
  • Loading branch information
charly-bg committed Aug 23, 2024
1 parent 4c93b47 commit 59a87f6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 59a87f6

Please sign in to comment.