We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce48f6d commit 9088873Copy full SHA for 9088873
ci_test.py
@@ -96,6 +96,9 @@ def main():
96
'-t', image_name,
97
docker_dir
98
]
99
+ clean_command = f"docker buildx prune -af"
100
+ else:
101
+ clean_command = f"docker image rm {image_name}"
102
103
status = run_command(cmd, log_file=log_file)
104
results[dockerfile] = status
@@ -111,7 +114,7 @@ def main():
111
114
run_command(cmd)
112
115
print("[{}] - {}".format(results[dockerfile], dockerfile))
113
116
sys.stdout.flush()
- run_command(f"docker image rm {image_name}")
117
+ run_command(clean_command)
118
run_command("docker image prune -f")
119
120
for dockerfile in dockerfiles:
0 commit comments