From a5a87379f83a07ea1fc0174d08d3ba845d222a4c Mon Sep 17 00:00:00 2001 From: Andre Challier Date: Wed, 27 Mar 2024 18:33:44 +0100 Subject: [PATCH] fixed ssh-keyscan process call --- webhooks-git/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webhooks-git/entrypoint.sh b/webhooks-git/entrypoint.sh index 7d0f368..d9756cf 100644 --- a/webhooks-git/entrypoint.sh +++ b/webhooks-git/entrypoint.sh @@ -79,8 +79,8 @@ else fi # Create or append known_hosts -ssh-keyscan -H "$GIT_SERVER_PROGRAMM" >> "${path_ssh}/known_hosts" -ssh-keyscan -H "$GIT_SERVER_ASSETS" >> "${path_ssh}/known_hosts" +ssh-keyscan -H "$GIT_SERVER_PROGRAMM" >> "${path_ssh}"/known_hosts +ssh-keyscan -H "$GIT_SERVER_ASSETS" >> "${path_ssh}"/known_hosts echo "git and ssh configured." echo "|--- Programm webhook public key (deploy key): --------------------|"