Skip to content

Commit

Permalink
[Fix][Docker] Workflow "push-docker" failed run with error "No space …
Browse files Browse the repository at this point in the history
…left on device" (#8339)
  • Loading branch information
FrommyMind authored Dec 20, 2024
1 parent 775dbea commit dedfb26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/github/free_disk_space.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ sudo apt-get remove -y '^mysql-.*'
sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri
sudo apt-get autoremove -y
sudo apt-get clean
echo "Disk space before cleanup:"
df -h
echo "Removing large directories"

sudo rm -rf /usr/share/dotnet/
sudo rm -rf /usr/local/graalvm/
sudo rm -rf /usr/local/.ghcup/
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/local/share/boost
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/local/lib/node_modules
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/ghc
df -h

0 comments on commit dedfb26

Please sign in to comment.