Skip to content

Commit

Permalink
Clean some disk space by removing unused parts from base image
Browse files Browse the repository at this point in the history
The docker build for production environment ran out of disk space.
This github action saves about 14GB but does take 1-2 minutes to run.
  • Loading branch information
cjcolvar committed Sep 25, 2023
1 parent 9850c77 commit b2bb1f5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/podman-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- 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: false
docker-images: false
swap-storage: false
- uses: actions/checkout@v3
- name: Determine DockerHub image tags
id: determine_dockerhub_tags
Expand Down

0 comments on commit b2bb1f5

Please sign in to comment.