From 1a38e08fcac0762a733df2219755942b61daf363 Mon Sep 17 00:00:00 2001 From: Dhruva Gole Date: Tue, 7 Oct 2025 10:51:29 +0530 Subject: [PATCH] ci: fix space issues in docker github actions keep failing due to errors like these: failed to register layer: write /opt/toolchains/zephyr-sdk-0.17.4/xtensa-nxp_rt700_hifi4_zephyr-elf/libexec/gcc/xtensa-nxp_rt700_hifi4_zephyr-elf/12.2.0/cc1: no space left on device Error: Docker pull failed with exit code 1 Fix this by freeing up disk space on the runner before the job runs. Signed-off-by: Dhruva Gole --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index afe3fe3e3..a995d3844 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,11 @@ jobs: env: CMAKE_PREFIX_PATH: /opt/toolchains steps: + - name: Cleanup Docker images and containers + run: | + docker system prune -af + docker volume prune -f + - name: Checkout uses: actions/checkout@v4 with: