mirror of
https://github.com/frappe/bench.git
synced 2025-01-06 23:44:03 +00:00
fix: easy-install.py build command arg for image
This commit is contained in:
parent
1f3f68cbb6
commit
18426dbdf1
4
.github/workflows/easy-install.yml
vendored
4
.github/workflows/easy-install.yml
vendored
@ -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")
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user