Add support for locally build services
This commit is contained in:
parent
0faa446178
commit
c5acce944f
3
main.py
3
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"]
|
||||
|
Loading…
Reference in New Issue
Block a user