Skip to content

Commit e984627

Browse files
author
Tyler Titsworth
authored
Un-tag and Prune TR Images properly (#118)
1 parent d327fe7 commit e984627

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test-runner/test_runner.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ def get_test_list(args: dict, tests_yaml: List[dict]):
205205
remaining_containers = docker.container.list()
206206
for container in remaining_containers:
207207
docker.stop(container, time=None)
208-
docker.image.remove(test_images, force=True)
208+
docker.image.remove(test_images, force=True, prune=False)
209+
docker.system.prune()
209210
logging.info("%d Images Removed", len(test_images))
210211
# Print Summary Table
211212
logging.info(

0 commit comments

Comments
 (0)