Skip to content

Commit 142a7c2

Browse files
committed
avoid running out of disk space during docker image building
* remove unnecessary data from base image to avoid running out of disk space during docker image building.
1 parent c049764 commit 142a7c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
run: echo ${{ steps.buildx.outputs.platforms }}
2121
- name: Install Podman
2222
run: sudo apt update && sudo apt install -y podman
23+
- name: Free up some disk space
24+
run: sudo rm -rf /usr/share/dotnet && sudo rm -rf "$AGENT_TOOLSDIRECTORY"
2325
build:
2426
runs-on: ubuntu-24.04
2527
needs: setup

0 commit comments

Comments
 (0)