Cloning a private Repo from gitlab CI job using HTTPS without exposing my credentials into CLI
问题 I have a gitlab ci job that does some work for me but it depends on another repo so I need to clone another repo inside this job. I can't use https cloning because gitlab will ask me for user name and password and the gitlab ci is non-interactive. So how to clone gitlab repo using https inside gitlab ci job. Thanks in advance. 回答1: You should clone that repo using SSH and a read-only deploy key, possibly storing the token in a masked variable. 回答2: I have found a way to authenticate my