From 1fe443e9058cd9b982b52410c097e028fc4bb58a Mon Sep 17 00:00:00 2001 From: cuiyaning Date: Mon, 24 Jun 2024 09:07:03 +0000 Subject: [PATCH] docker free disk --- .github/workflows/docker.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7755d5a..e4e1475 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - fix_docker jobs: docker: @@ -25,7 +26,28 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push + name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + + # all of these default to true, but feel free to set to + # "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: false + swap-storage: false + - + name: Set up swap space + uses: pierotofy/set-swap-space@v1.0 + with: + swap-size-gb: 10 + - + name: Build and push with rdma uses: docker/build-push-action@v3 with: context: ./unimol/docker/