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"]