Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fix: free disk space before docker builds (#1060)

Francesco Bonacci512e2a30b39b
diff --git a/.github/workflows/docker-reusable-publish.yml b/.github/workflows/docker-reusable-publish.yml
index e2f309eea7..1786d08431 100644
--- a/.github/workflows/docker-reusable-publish.yml
+++ b/.github/workflows/docker-reusable-publish.yml
@@ -47,6 +47,12 @@ jobs:
exclude:
- platform: ${{ inputs.skip_arm64 && 'linux/arm64' || 'none' }}
steps:
+ - name: Free disk space
+ run: |
+ sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache
+ sudo docker system prune -af
+ df -h /
+
- name: Checkout
uses: actions/checkout@v4