This is an automated email from the ASF dual-hosted git repository.
bugraoz pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new 6743667c2a5 [v3-1-test] Run system prune when importing image cache
(#61826) (#61828)
6743667c2a5 is described below
commit 6743667c2a53dae118919fdabc20ee8ae63a7c6d
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Feb 13 00:53:25 2026 +0100
[v3-1-test] Run system prune when importing image cache (#61826) (#61828)
We have some space issues when building images - this might help
to clean some memory.
(cherry picked from commit 327201f5f9198ab3d19c1a07b8a39bcd0f61a7c4)
Co-authored-by: Jarek Potiuk <[email protected]>
---
dev/breeze/src/airflow_breeze/commands/ci_image_commands.py | 1 +
1 file changed, 1 insertion(+)
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 67eb457b20c..2454cd01a07 100644
--- a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
@@ -1044,6 +1044,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()