From eb0a4fb7b85f50837b9ba4c198edc483a79b5462 Mon Sep 17 00:00:00 2001 From: lubiana Date: Thu, 12 Dec 2024 04:14:23 +0100 Subject: [PATCH] try to run rsync in a new shell --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 66a0b50..74740fd 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,6 +12,6 @@ chmod 600 ~/.ssh/id_rsa ssh-keyscan -H ${INPUT_REMOTE_HOST} >> ~/.ssh/known_hosts # SCP files to the remote host -rsync ${INPUT_RSYNC_PARAMETERS} ${INPUT_PATH} ${INPUT_REMOTE_USER}@${INPUT_REMOTE_HOST}:${INPUT_REMOTE_PATH} +sh -c rsync ${INPUT_RSYNC_PARAMETERS} ${INPUT_PATH} ${INPUT_REMOTE_USER}@${INPUT_REMOTE_HOST}:${INPUT_REMOTE_PATH} exit 0