Skip to content

Commit e5bc3ac

Browse files
committed
CU-869b2zjay: Add disk space checks before and after the 2 new steps
1 parent 1f853b9 commit e5bc3ac

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/medcat-service_docker.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: 🧹 Free up disk space
3030
run: |
31-
echo "Remove largs / unnecessary packages / tools"
31+
df -h # Optional: Check space before build
3232
# Remove large, unnecessary packages/tools
3333
sudo rm -rf /usr/share/dotnet
3434
sudo rm -rf /usr/local/lib/android
@@ -106,7 +106,10 @@ jobs:
106106
107107
- name: Clean Docker to free up space
108108
# NOTE: otherwise the runner tends to run out of disk space roughly 75% of the time
109-
run: docker system prune -af
109+
run: |
110+
df -h # Optional: Check space before build
111+
docker system prune -af
112+
df -h # Optional: Check space before build
110113
111114
- name: Build and push Docker Jupyter singleuser image with GPU support
112115
id: docker_build_gpu

0 commit comments

Comments
 (0)