Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove docker image after build and push from local device #895

Merged
merged 12 commits into from
Mar 6, 2024
Merged
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 rmi -f $(docker images -aq)
RobbeSneyders marked this conversation as resolved.
Show resolved Hide resolved
popd

done
Loading