added force cleanup for network and cleanUp hook is cleaning up based on the label

This commit is contained in:
Nikola Jokic
2022-06-03 16:01:24 +02:00
parent 3ab4ae20f9
commit c65ec28bbb
4 changed files with 13 additions and 19 deletions

View File

@@ -175,6 +175,7 @@ export async function containerNetworkPrune(): Promise<void> {
const dockerArgs = [
'network',
'prune',
'--force',
'--filter',
`label=${getRunnerLabel()}`
]