From 18426dbdf19af04ebd4fe0dbbc3af8552483d886 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Sun, 27 Oct 2024 15:02:06 +0530 Subject: [PATCH] fix: easy-install.py build command arg for image --- .github/workflows/easy-install.yml | 4 ++-- easy-install.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/easy-install.yml b/.github/workflows/easy-install.yml index cb909eab..e7ef8f3a 100644 --- a/.github/workflows/easy-install.yml +++ b/.github/workflows/easy-install.yml @@ -28,8 +28,8 @@ jobs: - name: Perform production easy install run: | - python3 ${GITHUB_WORKSPACE}/easy-install.py build - python3 ${GITHUB_WORKSPACE}/easy-install.py -p -n actions_test --email test@frappe.io --image custom-apps:latest + python3 ${GITHUB_WORKSPACE}/easy-install.py build --image erpnext:version-15 + python3 ${GITHUB_WORKSPACE}/easy-install.py -p -n actions_test --email test@frappe.io --image erpnext:version-15 docker compose -p actions_test exec backend bench version --format json docker compose -p actions_test exec backend bench --site site1.localhost list-apps --format json result=$(curl -H "Host: site1.localhost" -sk https://127.0.0.1/api/method/ping | jq -r ."message") diff --git a/easy-install.py b/easy-install.py index 9bb01f92..b0a99d06 100755 --- a/easy-install.py +++ b/easy-install.py @@ -346,7 +346,7 @@ def add_build_parser(argparser: argparse.ArgumentParser): ) build.add_argument( "-i", - "--image-name", + "--image", help="Full Image Name, default: custom-apps:latest", default="custom-apps:latest", ) @@ -464,7 +464,7 @@ if __name__ == "__main__": frappe_path=args.frappe_path, frappe_branch=args.frappe_branch, apps_json_path=args.apps_json, - image_name=args.image_name, + image_name=args.image, containerfile_path=args.containerfile, python_version=args.python_version, node_version=args.node_version,