Skip to content

Commit

Permalink
[DO-NOT-MERGE][DROOLS-7638]"docker system prune -f" fails in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
tkobayas committed Oct 17, 2024
1 parent c5190cb commit 18e8834
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .ci/buildchain-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ default:
mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }}
after:
current: |
docker system prune -f
bash -c '
if docker system df > /dev/null 2>&1; then
docker system prune -f
else
echo "Prune operation already in progress. Skipping this command."
fi
'
build:
- project: kiegroup/drools
Expand Down

0 comments on commit 18e8834

Please sign in to comment.