$ echo "$username" test $ echo "$password" password $ docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY WARNING! Using --password via the CLI is insecure. Use --password-stdin. Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password