1
0

ci: prune docker

This commit is contained in:
dump_stack() 2024-02-21 12:53:16 +00:00
parent 30e0e5f554
commit 6bda2344c9
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB

View File

@ -136,7 +136,9 @@ jobs:
run: |
echo "backup moby/buildkit image"
sudo docker image save -o ${GITHUB_WORKSPACE}/images.tar moby/buildkit
echo "Back up /var/lib/docker folder structure and other files"
echo "prune docker"
sudo docker system prune -a -f
echo "back up /var/lib/docker folder structure and other files"
sudo rsync -aPq /var/lib/docker/ ${GITHUB_WORKSPACE}/docker
- name: Maximize build space