Skip to content

Commit

Permalink
free diskspace in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Gabteni committed May 13, 2024
1 parent ca3a62d commit c87eb8f
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,20 @@ jobs:
tag_extension: -gpu
platforms: linux/amd64
steps:
- name: check diskspace
run: df -h
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@
- name: Free Up GitHub Actions Ubuntu Runner Disk Space 🔧
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
swap-storage: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand Down

0 comments on commit c87eb8f

Please sign in to comment.