diff --git a/.github/workflows/PR-Demos.yml b/.github/workflows/PR-Demo-cleanup.yml similarity index 93% rename from .github/workflows/PR-Demos.yml rename to .github/workflows/PR-Demo-cleanup.yml index f0a94906a..e1760b36b 100644 --- a/.github/workflows/PR-Demos.yml +++ b/.github/workflows/PR-Demo-cleanup.yml @@ -1,4 +1,4 @@ -name: PR Deployment +name: PR Deployment cleanup on: pull_request: @@ -42,7 +42,7 @@ jobs: rm -rf /stirling/PR-${{ github.event.pull_request.number }} # Remove the Docker image - docker rmi ${{ secrets.DOCKER_HUB_USERNAME }}/test:pr-${{ github.event.pull_request.number }} || true + docker rmi --no-prune ${{ secrets.DOCKER_HUB_USERNAME }}/test:pr-${{ github.event.pull_request.number }} || true echo "Cleanup completed successfully" else