Skip to content

Commit

Permalink
fix: easy-install.py build to set tag only if empty
Browse files Browse the repository at this point in the history
  • Loading branch information
revant committed Oct 27, 2024
1 parent 82e4b2c commit 6c97d92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion easy-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ def add_build_parser(argparser: argparse.ArgumentParser):
dest="tags",
help="Full Image Name(s), default: custom-apps:latest",
action="append",
default=["custom-apps:latest"],
)
build.add_argument(
"-c",
Expand Down Expand Up @@ -384,6 +383,10 @@ def build_image(
if not check_repo_exists():
clone_frappe_docker_repo()
install_docker()

if not tags:
tags = ["custom-apps:latest"]

apps_json_base64 = None
try:
with open(apps_json_path, "rb") as file_text:
Expand Down

0 comments on commit 6c97d92

Please sign in to comment.