From 149649b6d47c139670abc441f3bc6895faa03355 Mon Sep 17 00:00:00 2001 From: PAlexanderFranklin Date: Thu, 21 Mar 2024 12:53:30 -0700 Subject: [PATCH] Use argument for ssh test --- Shilohimage | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Shilohimage b/Shilohimage index 02b064bd..4af8b9ed 100644 --- a/Shilohimage +++ b/Shilohimage @@ -102,12 +102,11 @@ USER frappe RUN mkdir -p /home/frappe/.ssh RUN echo -e "Host *\n\tStrictHostKeyChecking no\n\tIdentityFile /run/secrets/user_ssh_key\n" >> /home/frappe/.ssh/config -RUN ssh -T 'git@githaven.org:2222/Shiloh/brotherton-erpnext.git' - ARG FRAPPE_BRANCH=version-15 ARG FRAPPE_PATH=https://github.com/frappe/frappe ARG ERPNEXT_REPO=ssh://git@githaven.org:2222/Shiloh/brotherton-erpnext.git ARG ERPNEXT_BRANCH=production +RUN ssh -T ${ERPNEXT_REPO} RUN bench init \ --frappe-branch=${FRAPPE_BRANCH} \ --frappe-path=${FRAPPE_PATH} \