Skip to content

Commit

Permalink
fix(easy-install): correct custom image and tag
Browse files Browse the repository at this point in the history
  • Loading branch information
revant committed Dec 26, 2024
1 parent 5ae3ffc commit 18b3021
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions easy-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 18b3021

Please sign in to comment.