From c5acce944f095dec1346b68c5ac88295a39c54dc Mon Sep 17 00:00:00 2001 From: Faerbit Date: Fri, 11 Mar 2022 23:04:50 +0100 Subject: [PATCH] Add support for locally build services --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index b8b621f..5de9f1b 100755 --- a/main.py +++ b/main.py @@ -74,6 +74,9 @@ def main(): old_length = 0 new_length = 0 for k, v in yaml_data["services"].items(): + if "build" in v: + print(f'{GRY}Skipping service "{k}", as it is build locally{NC}') + continue if "image" not in v: exit_msg("Invalid compose file. No image") image_str = v["image"]