added jenkins deployment
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user