From 36360c68e4548f8ab91e263553e0dadf3ecf488b Mon Sep 17 00:00:00 2001 From: Mike Miller <87874+mikeage@users.noreply.github.com> Date: Mon, 16 Dec 2024 20:59:28 +0200 Subject: [PATCH] Support new ubuntu-24 images (#799) Support cases where the VM image contains no docker images --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d588c0dd1..f80d0f6e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -268,7 +268,7 @@ jobs: echo "Initial free space" df -h / echo "Removing all pre-loaded docker images" - docker rmi $(docker image ls -aq) # Removes ~3GB + docker image ls -aq | xargs -r docker rmi # Removes ~3GB df -h / echo "Listing 100 largest packages" dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -rn | head -n 100