From 8aea1c7ebcdf902f4567772dacb93bca5c836fe8 Mon Sep 17 00:00:00 2001 From: bclayton-usgs <bclayton@usgs.gov> Date: Fri, 22 May 2020 08:52:43 -0600 Subject: [PATCH] deal with ed25519 ssh key --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e59faea..a75e487 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,6 +39,8 @@ stages: eval $(ssh-agent -s); mkdir -p ~/.ssh; chmod 700 ~/.ssh; + echo "${SSH_PRIVATE_KEY}" >> ~/.ssh/id_ed25519; + chmod 0600 ~/.ssh/id_ed25519; echo "${SSH_PRIVATE_KEY}" >> ~/.ssh/id_rsa; chmod 0600 ~/.ssh/id_rsa; echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config; -- GitLab