Hi everyone,
I try to deploy my project on my vps but an error prevents me from doing so:
Executing busybox-1.35.0-r29.trigger
OK: 21 MiB in 28 packages
$ ssh -i $ID_RSA -o StrictHostKeyChecking=no $SERVER_USER@$SERVER_IP “docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY”
Warning: Permanently added ‘[MASKED]’ (ED25519) to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
[MASKED]@[MASKED]: Permission denied (publickey,password).
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 255
My vps is on Ubuntu, I use Docker and gitlab runner. The terminal I use is PuTTY.
Here is my .gitlab-ci.yml :
And here is my Dockerfile:
I already checked my files permissions and my public key is already in authorized_keys file
Thanks in advance for your help!