очистка от неиспользуемых образов
Some checks failed
Hedgehog_server_CD/ServerMonitorBot/pipeline/head There was a failure building this commit
Hedgehog_server_CI/ServerMonitorBot/pipeline/head There was a failure building this commit

This commit is contained in:
2023-11-21 13:43:36 +03:00
parent bf070c29a1
commit 35a8d6a8c7
2 changed files with 15 additions and 3 deletions

View File

@@ -12,4 +12,9 @@ pipeline {
}
}
}
stage('Prune images') {
steps {
sshpass -p ${SSH_PASS} ssh -o StrictHostKeyChecking=no ${SSH_USER}@${SSH_HOST} -p ${SSH_PORT} 'docker image prune -f'
}
}
}