Skip to content

Commit 57f88c1

Browse files
authored
ci: Fix verify diskspace issues (again) (#974)
Signed-off-by: Ryan Northey <[email protected]>
1 parent 7ac35a5 commit 57f88c1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/_verify_examples.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
rm: true
2020
command-pre: sudo systemctl stop docker
2121
command-post: sudo systemctl start docker
22-
22+
- src: /mnt/runner-cache
23+
target: /home/runner/.cache
24+
chown: "runner:runner"
2325
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2426
- run: |
2527
TEMPDIR=/cache/docker
@@ -37,12 +39,14 @@ jobs:
3739
zstd --stdout -d "${TEMPDIR}/docker.tar.zst" | sudo tar --warning=no-timestamp -xf - -C /var/lib/docker-examples
3840
sudo umount "$TEMPDIR"
3941
if: steps.cache.outputs.cache-hit == 'true'
40-
4142
- run: |
4243
TEMPDIR=/cache/docker
4344
sudo mkdir -p "${TEMPDIR}"
4445
sudo mount -t tmpfs none "$TEMPDIR"
4546
sudo chown runner "$TEMPDIR"
47+
sudo du -ch /var/lib/docker | grep total
48+
sudo du -ch /var/lib/docker-examples | grep total
49+
sudo df -h
4650
- uses: actions/cache@v5
4751
with:
4852
path: /home/runner/.cache

0 commit comments

Comments
 (0)