feat: add build from image path
This commit is contained in:
parent
2911dde588
commit
6a8be74675
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ class Parser:
|
||||||
if service.get("image"):
|
if service.get("image"):
|
||||||
service_image = service["image"]
|
service_image = service["image"]
|
||||||
print("image: {}".format(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] = []
|
service_networks: List[str] = []
|
||||||
if service.get("networks"):
|
if service.get("networks"):
|
||||||
|
|
Loading…
Reference in a new issue