This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-11-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-11-test by this push:
     new 2c130fc3c9a Free up disk space for image build (#61845)
2c130fc3c9a is described below

commit 2c130fc3c9a1279103c5721eb85d56570643f39d
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Feb 13 10:56:03 2026 +0100

    Free up disk space for image build (#61845)
---
 .github/workflows/ci-image-build.yml                        | 3 +++
 dev/breeze/src/airflow_breeze/commands/ci_image_commands.py | 1 +
 2 files changed, 4 insertions(+)

diff --git a/.github/workflows/ci-image-build.yml 
b/.github/workflows/ci-image-build.yml
index 7be646c52a7..40404e17aee 100644
--- a/.github/workflows/ci-image-build.yml
+++ b/.github/workflows/ci-image-build.yml
@@ -128,6 +128,9 @@ jobs:
         uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5  # 
v4.3.1
         with:
           persist-credentials: false
+      - name: "Free up disk space"
+        shell: bash
+        run: ./scripts/tools/free_up_disk_space.sh
       - name: "Cleanup docker"
         run: ./scripts/ci/cleanup_docker.sh
       - name: "Install Breeze"
diff --git a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py 
b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
index ced462e5358..d31afc3fde3 100644
--- a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
@@ -1131,6 +1131,7 @@ def import_mount_cache(
     get_console().print("[info]Built temporary image and copied cache[/]")
     get_console().print("[info]Removing temporary image[/]")
     run_command(["docker", "rmi", "airflow-import-cache"], check=True)
+    run_command(["docker", "system", "prune", "-f"], check=True)
     get_console().print("[info]Built temporary image and copying context[/]")
     get_console().print(f"[info]Removing context: {context}[/]")
     context_cache_file.unlink()

Reply via email to