From 32a74469c7c7c02403e43dac09d1aea14e680461 Mon Sep 17 00:00:00 2001 From: James Strachan Date: Fri, 19 Mar 2021 06:04:39 +0000 Subject: [PATCH] chore: less drastic image prune --- .github/workflows/jenkins-x-release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/jenkins-x-release.yaml b/.github/workflows/jenkins-x-release.yaml index a272989e..a410607e 100644 --- a/.github/workflows/jenkins-x-release.yaml +++ b/.github/workflows/jenkins-x-release.yaml @@ -92,7 +92,7 @@ jobs: sudo swapoff -a sudo rm -f /swapfile sudo apt clean - docker rmi $(docker image ls -aq) + docker image prune -a df -h - name: Build and push jx-cli uses: docker/build-push-action@v2 @@ -111,7 +111,7 @@ jobs: sudo swapoff -a sudo rm -f /swapfile sudo apt clean - docker rmi $(docker image ls -aq) + docker image prune -a df -h - name: Build and push jx-go uses: docker/build-push-action@v2 @@ -130,7 +130,7 @@ jobs: sudo swapoff -a sudo rm -f /swapfile sudo apt clean - docker rmi $(docker image ls -aq) + docker image prune -a df -h - name: Build and push jx-go-maven uses: docker/build-push-action@v2