diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index 73bbe598..d4d836be 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -10,6 +10,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Free disk space + run: | + sudo swapoff -a + sudo rm -f /swapfile + sudo apt clean + docker rmi $(docker image ls -aq) + df -h - name: Build image run: | - docker build -t fms-hf-tuning:dev . -f build/Dockerfile \ No newline at end of file + docker build -t fms-hf-tuning:dev . -f build/Dockerfile + \ No newline at end of file