Skip to content

Commit

Permalink
Remove docker image after build and push from local device (#895)
Browse files Browse the repository at this point in the history
Co-authored-by: Robbe Sneyders <[email protected]>
  • Loading branch information
mrchtr and RobbeSneyders authored Mar 6, 2024
1 parent 65cf3e5 commit 83b6592
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
pull_request:
workflow_dispatch:

env:
Expand Down
3 changes: 3 additions & 0 deletions scripts/build_components.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ for dir in "${components_to_build[@]}"; do
\`docker pushrm --help\`
"


# Delete old docker images to free up space
docker builder prune -f
popd

done

0 comments on commit 83b6592

Please sign in to comment.