Skip to content

Commit

Permalink
Merge pull request #69 from stfc/workflow-space
Browse files Browse the repository at this point in the history
ENH: Add action to maximize build disk space
  • Loading branch information
meoflynn authored Nov 14, 2024
2 parents 777d867 + 61a51c1 commit b5ec59e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ jobs:
matrix:
image: ${{ fromJson(needs.setup.outputs.images) }}
steps:
- name: Maximize build space # free up space for building images
uses: easimon/maximize-build-space@v10
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
build-mount-path: '/var/lib/docker/'
- name: Restart docker # restart the docker service
run: sudo service docker restart
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Login to DockerHub # increase pull rate limit
Expand Down

0 comments on commit b5ec59e

Please sign in to comment.