mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-05 14:44:12 +00:00
since accepting the github host entry programatically is no more secure
This commit is contained in:
parent
2a55c05473
commit
fd2146bd46
@ -47,7 +47,7 @@ function run() {
|
|||||||
tmpfile=$(mktemp /tmp/tmp_git.XXXXXX)
|
tmpfile=$(mktemp /tmp/tmp_git.XXXXXX)
|
||||||
chmod 600 "$tmpfile"
|
chmod 600 "$tmpfile"
|
||||||
echo "$GIT_SSH_PRIVATE_KEY" >"$tmpfile"
|
echo "$GIT_SSH_PRIVATE_KEY" >"$tmpfile"
|
||||||
export GIT_SSH_COMMAND="ssh -o IdentitiesOnly=yes -i ${tmpfile} -F /dev/null"
|
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ${tmpfile} -F /dev/null"
|
||||||
else
|
else
|
||||||
PAT="${git_commit_username}:${git_commit_password}"
|
PAT="${git_commit_username}:${git_commit_password}"
|
||||||
AUTH=$(echo -n "$PAT" | openssl base64 | tr -d '\n')
|
AUTH=$(echo -n "$PAT" | openssl base64 | tr -d '\n')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user