Skip to content

Commit 0cd21f9

Browse files
committed
.github: remove all contents of /mnt in build images CI
As we need the /mnt directory to be empty might as well delete all files that are there instead of assuming that only a couple of files take the most amount of space. Signed-off-by: André Martins <andre@cilium.io>
1 parent 676d346 commit 0cd21f9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-images-ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ jobs:
9999
echo "# Hidden files in /mnt:"
100100
sudo du --human-readable -- /mnt/.* 2>/dev/null
101101
fi
102-
echo "# Removing /mnt/tmp-pv.img"
103-
sudo rm -f '/mnt/tmp-pv.img'
104-
sudo rm -rf '/mnt/docker-volumes'
102+
echo "# Removing all contents of /mnt"
103+
sudo rm -rf /mnt/*
104+
sudo rm -rf /mnt/.*
105105
106106
- name: Setup docker volumes into /mnt
107107
# This allows us to make use of all available disk.

0 commit comments

Comments
 (0)