From 677dca10951fa45a028d17588e7e6bfd8d6cfda3 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Fri, 5 Dec 2025 12:55:50 +0800 Subject: [PATCH] build(gh): free disk space --- .github/workflows/push_image.yml | 7 +------ .github/workflows/push_image_next.yml | 7 ++++++- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/push_image.yml b/.github/workflows/push_image.yml index 84a5522c..3b4f0d56 100644 --- a/.github/workflows/push_image.yml +++ b/.github/workflows/push_image.yml @@ -49,14 +49,9 @@ jobs: uses: actions/checkout@v4 - name: Free disk space - uses: jlumbroso/free-disk-space@main + uses: BRAINSia/free-disk-space@v2 with: tool-cache: false - android: true - dotnet: true - haskell: true - large-packages: true - swap-storage: true - name: Set up QEMU uses: docker/setup-qemu-action@v3 diff --git a/.github/workflows/push_image_next.yml b/.github/workflows/push_image_next.yml index 2c052880..9a4017ae 100644 --- a/.github/workflows/push_image_next.yml +++ b/.github/workflows/push_image_next.yml @@ -47,6 +47,11 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Free disk space + uses: BRAINSia/free-disk-space@v2 + with: + tool-cache: false + - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -93,7 +98,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . - # file: ./Dockerfile.gh + # file: ./Dockerfile file: ./Dockerfile.gh platforms: linux/amd64,linux/arm64,linux/arm/v7 push: true