Skip to content

Commit

Permalink
optimize disk space on gha
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 committed Sep 6, 2024
1 parent 82544cb commit 8342c13
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
name: Build Container Image
name: Container Image
on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
build-mount-path: /var/lib/docker/
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- name: Restart docker
run: sudo service docker restart
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
Expand Down

0 comments on commit 8342c13

Please sign in to comment.