Skip to content

Commit

Permalink
CIP - add docker system prune -f
Browse files Browse the repository at this point in the history
To avoid filling up the disk, the docker images are massive...

Ref: IZUMABL-533
  • Loading branch information
JanneKiiskila committed Aug 19, 2024
1 parent 997f9be commit 653fbfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
docker run --rm -v "$PWD":/build -w /build ${USER}/snapcraft:latest bash -c "sudo apt-get update && snapcraft --debug"
# The build left files with no write rights, which ruins next test run
chmod a+w -R .
# Need to clean up older docker images, they fill the disk otherwise
- name: docker system prune -f
run: docker system prune -f
- name: Archive the snap-binary
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 653fbfa

Please sign in to comment.