diff --git a/Jenkinsfile b/Jenkinsfile index ea9895a..9fe91e7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -73,7 +73,7 @@ pipeline { echo 'Removing old/dangling Docker images...' // Remove all images that are not associated with a container // This targets the untagged images created by previous builds - sh 'docker image prune -f' + sh 'docker system prune -f' // OPTIONAL: Remove images older than a certain time (e.g., 24 hours) // This is useful if you want to keep the most recent successful images