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 ced2a14
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .ci/buildchain-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ default:
mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }}
after:
current: |
docker system prune -f
if ! docker system df > /dev/null 2>&1; then
echo "A prune operation is already running, skipping this command..."
else
docker system prune -f
fi
build:
- project: kiegroup/drools
Expand Down

0 comments on commit ced2a14

Please sign in to comment.