From 6e426426c3e32375065a6b968610a4b188f78ecd Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Thu, 10 Jul 2025 10:15:43 +0800 Subject: [PATCH] build: change action. --- .github/workflows/build-and-push.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 3256dac21..8ea2b2cef 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -38,6 +38,19 @@ jobs: if: ${{ contains(github.event.inputs.registry, 'fit2cloud') }} runs-on: ubuntu-latest steps: + - name: Check Disk Space + run: df -h + - name: Free Disk Space (Ubuntu) + if: ${{ contains(github.event.inputs.architecture, ',') }} + uses: jlumbroso/free-disk-space@main + with: + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: false + swap-storage: false - name: Check Disk Space run: df -h - name: Checkout @@ -86,6 +99,19 @@ jobs: if: ${{ contains(github.event.inputs.registry, 'dockerhub') }} runs-on: ubuntu-latest steps: + - name: Check Disk Space + run: df -h + - name: Free Disk Space (Ubuntu) + if: ${{ contains(github.event.inputs.architecture, ',') }} + uses: jlumbroso/free-disk-space@main + with: + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: false + swap-storage: false - name: Check Disk Space run: df -h - name: Checkout