Skip to content

Commit

Permalink
ci: fix if docker image ls -aq returns nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdrivingduck authored and polardb-bot[bot] committed Dec 27, 2024
1 parent d4f5477 commit 7ca25d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/precheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:
/usr/lib/jvm || true
sudo apt autoremove -y
sudo apt clean -y
docker rmi $(docker image ls -aq)
if [ -n "$(docker image ls -aq)" ]; then
docker rmi $(docker image ls -aq)
fi
df -h
- name: limit WAL size
Expand Down

0 comments on commit 7ca25d4

Please sign in to comment.