Skip to content

Commit

Permalink
Extra disk cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored Nov 19, 2024
1 parent 91a7f4a commit e8606b8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,15 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker prune
run: docker system prune --force
- name: Clean up system
run: |
rm -rf .git/
docker system prune --force
docker rmi $(docker image ls -aq) || true
docker system prune --force
export DEBIAN_FRONTEND="noninteractive"
sudo apt-get autoremove -y
sudo apt-get autoclean -y
- name: Build and publish ${{ matrix.image }}
run: ./scripts/build -p -g images ${{ matrix.image }}
- name: Docker prune
Expand Down

0 comments on commit e8606b8

Please sign in to comment.