Skip to content

Commit 1a38e08

Browse files
committed
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 <[email protected]>
1 parent 00a01fa commit 1a38e08

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ jobs:
99
env:
1010
CMAKE_PREFIX_PATH: /opt/toolchains
1111
steps:
12+
- name: Cleanup Docker images and containers
13+
run: |
14+
docker system prune -af
15+
docker volume prune -f
16+
1217
- name: Checkout
1318
uses: actions/checkout@v4
1419
with:

0 commit comments

Comments
 (0)