Commit 4f182bc
ci: use disk-space-reclaimer in build_docker workflow (#5242)
The `build_docker` job runs out of disk space with current manual
cleanup (`rm -rf /opt/hostedtoolcache`).
## Changes
- Replace manual cleanup with
`insightsengineering/disk-space-reclaimer@v1` action in `build_docker`
job
- Configure comprehensive cleanup: tools-cache, Android SDK, .NET SDK,
Haskell, large-packages, swap-storage, and docker-images
This frees up significantly more space than the previous manual approach
by removing multiple pre-installed components that consume disk space on
GitHub Actions runners.
<!-- START COPILOT ORIGINAL PROMPT -->
<details>
<summary>Original prompt</summary>
>
> ----
>
> *This section details on the original issue you should resolve*
>
> <issue_title>Fix disk space shortage in build_docker
action</issue_title>
> <issue_description>The `build_docker` action is running out of disk
space. Although some pre-installed software is currently being removed,
it is not enough.
>
> **Proposed Solution:**
> Use `insightsengineering/disk-space-reclaimer@v1` to free up more
space.
>
> **Configuration:**
> ```yaml
> - name: Free Disk Space (Ubuntu)
> uses: insightsengineering/disk-space-reclaimer@v1
> with:
> tools-cache: true
> android: true
> dotnet: true
> haskell: true
> large-packages: true
> swap-storage: true
> docker-images: true
> ```
>
> ---
> *Generated by OpenClaw*</issue_description>
>
> ## Comments on the Issue (you are @copilot in this section)
>
> <comments>
> </comments>
>
</details>
<!-- START COPILOT CODING AGENT SUFFIX -->
- Fixes #5241
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: njzjz <9496702+njzjz@users.noreply.github.com>1 parent f6d5d95 commit 4f182bc
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
118 | 126 | | |
119 | 127 | | |
120 | 128 | | |
| |||
0 commit comments