free up runner disk space before build docker image

This commit is contained in:
ThomasNS 2023-12-07 17:12:25 +01:00 committed by Xiang Xiao
parent 0f43be2c07
commit 54f72d9e5e
1 changed files with 16 additions and 0 deletions

View File

@ -48,6 +48,22 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3