mirror of
https://github.com/frappe/bench.git
synced 2025-01-22 22:58:31 +00:00
fix(easy-install): correct custom image and tag
This commit is contained in:
parent
5ae3ffc082
commit
18b3021417
@ -172,8 +172,10 @@ def start_prod(
|
||||
db_pass = ""
|
||||
custom_image = None
|
||||
custom_tag = None
|
||||
|
||||
if image:
|
||||
[custom_image, custom_tag] = image.split(":")
|
||||
custom_image = image
|
||||
custom_tag = version
|
||||
|
||||
with open(compose_file_name, "w") as f:
|
||||
# Writing to compose file
|
||||
@ -211,9 +213,6 @@ def start_prod(
|
||||
custom_image = env.get("CUSTOM_IMAGE")
|
||||
custom_tag = env.get("CUSTOM_TAG")
|
||||
|
||||
if image:
|
||||
[custom_image, custom_tag] = image.split(":")
|
||||
|
||||
version = env.get("ERPNEXT_VERSION", version)
|
||||
write_to_env(
|
||||
frappe_docker_dir=frappe_docker_dir,
|
||||
|
Loading…
x
Reference in New Issue
Block a user