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...'
|
echo 'Removing old/dangling Docker images...'
|
||||||
// Remove all images that are not associated with a container
|
// Remove all images that are not associated with a container
|
||||||
// This targets the untagged images created by previous builds
|
// This targets the untagged images created by previous builds
|
||||||
sh 'docker system prune -f'
|
sh 'docker system prune -a -f'
|
||||||
|
|
||||||
// OPTIONAL: Remove images older than a certain time (e.g., 24 hours)
|
// 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
|
// This is useful if you want to keep the most recent successful images
|
||||||
|
|||||||
Reference in New Issue
Block a user