Check running commands result by default

This commit is contained in:
Mikhail Gordeev 2022-12-14 15:56:13 +03:00
parent 5c944b9328
commit c5e8f363fb

View File

@ -163,6 +163,8 @@ class DockerBuilder:
return f"{registry}{self.overwrite_organization}/{image}{tag}"
def run(self, cmd, *args, **kwargs):
if "check" not in kwargs:
kwargs["check"] = True
if self.dry_run:
pre_cmd = ["echo"]
else: