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" apache#8337
  • Loading branch information
FrommyMind committed Dec 19, 2024
1 parent 1a5feb1 commit 8759af8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@ jobs:
submodules: true
- name: free disk space
run: tools/github/free_disk_space.sh
- name: Free More Disk Space
run: |
echo "Disk space before cleanup:"
df -h
sudo rm -rf /usr/local/.ghcup
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /usr/local/lib/android/sdk/ndk
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo apt-get clean
echo "Disk space after cleanup:"
df -h
- uses: actions/checkout@v4
- name: Cache local Maven repository
uses: actions/cache@v4
Expand Down

0 comments on commit 8759af8

Please sign in to comment.