From a5add46e0d6df2dda4490b02532bfa21a65c1229 Mon Sep 17 00:00:00 2001 From: Steven Agyekum Date: Mon, 2 Aug 2021 19:59:48 +0200 Subject: [PATCH] supply SSH_PASS (key passphrase) to agent-add Read more about the behavior: https://github.com/JoshPiper/rsync-docker#agent-askpass --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6590803..9d0f2b5 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,7 +2,7 @@ # Start the SSH agent and load key. source agent-start "$GITHUB_ACTION" -echo "$INPUT_REMOTE_KEY" | agent-add +echo "$INPUT_REMOTE_KEY" | SSH_PASS="$INPUT_REMOTE_KEY_PASS" agent-add # Add strict errors. set -eu