Skip to content

Commit

Permalink
[DROOLS-7638]"docker system prune -f" fails in GHA
Browse files Browse the repository at this point in the history
- Use docker rmi rather than prune because prune could be faulty and slow
  • Loading branch information
tkobayas committed Oct 18, 2024
1 parent d586e9a commit 6967ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/buildchain-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ default:
mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }}
after:
current: |
docker system prune -f
bash -c "if [ -n \"$(docker images -f dangling=true -q)\" ]; then docker rmi $(docker images -f dangling=true -q); else echo 'No dangling images to remove.'; fi"
build:
- project: kiegroup/drools
Expand Down

0 comments on commit 6967ba9

Please sign in to comment.