Skip to content
Snippets Groups Projects
Commit bb2a9b00 authored by Tucker Siegel's avatar Tucker Siegel
Browse files

change pipeline

parent eda3f288
Branches
No related tags found
No related merge requests found
...@@ -29,13 +29,20 @@ pipeline { ...@@ -29,13 +29,20 @@ pipeline {
stage('cleanup old images') { stage('cleanup old images') {
steps { steps {
sh ''' sh '''
docker image prune --filter "until=168h" --filter "label!=latest" || true docker image prune || true
'''
sh '''
docker rmi $(docker images | grep 'dev-test') || true
''' '''
} }
} }
// stage('cleanup old images') {
// steps {
// sh '''
// docker image prune --filter "until=168h" --filter "label!=latest" || true
// '''
// sh '''
// docker rmi $(docker images | grep 'dev-test') || true
// '''
// }
// }
stage('build new dawn-cli image') { stage('build new dawn-cli image') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment