diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 636b95257bd8289c1138c1301ba03aea7d729184..c5991914cfe603077d50ca567333956cc0832723 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,8 +8,8 @@ before_script:
   - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
   - mkdir -p ~/.ssh
   - chmod 700 ~/.ssh
-  - echo $SSH_PRIVATE_KEY > ~/.ssh/id_rsa
-  - chmod 600 ~/.ssh/id_rsa
+  - echo $SSH_PRIVATE_KEY > ~/.ssh/id_ed25519
+  - chmod 600 ~/.ssh/id_ed25519
   - ssh-keyscan -t rsa $GITLAB_SERVER > ~/.ssh/known_hosts
   - rm -rf ~/.gitconfig
   - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://gitlab.com/"