Skip to content

Commit 1b5b4fe

Browse files
committed
CI: Fix error when list of docker images is empty
1 parent 19b5841 commit 1b5b4fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/free_disk_space_on_linux/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ runs:
99
run: |-
1010
sudo swapoff -a
1111
sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc "$ANDROID_HOME" /usr/local/.ghcup /usr/local/share/powershell /opt/az /opt/microsoft /etc/skel
12-
docker rmi $(docker images -q) -f
12+
docker images -q | xargs -r docker rmi -f

0 commit comments

Comments
 (0)