GitLab CI/CD - SSH

You may want to take a look at ssh2lxd. It was designed with CI/CD and automation in mind.