feat: add build from image path

This commit is contained in:
uccu 2022-05-21 15:52:11 +08:00
parent 2911dde588
commit 6a8be74675

View file

@ -37,6 +37,9 @@ class Parser:
if service.get("image"):
service_image = service["image"]
print("image: {}".format(service_image))
elif service.get("build"):
service_image = "build from " + service["build"]
print("image: {}".format(service_image))
service_networks: List[str] = []
if service.get("networks"):