Created
April 23, 2019 14:02
-
-
Save straxico/64c286fc8c8c8535d88af53d6a7b85d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker login -u $CI_DEPLOY_USER -p $CI_DEPLOY_PASSWORD $CI_REGISTRY | |
Error: Cannot perform an interactive login from a non TTY device | |
ERROR: Job failed: exit code 1 | |
............................................................................................. | |
$ docker login -u gitlab-ci-token -p ${CI_BUILD_TOKEN} ${CI_REGISTRY} | |
WARNING! Using --password via the CLI is insecure. Use --password-stdin. | |
WARNING! Your password will be stored unencrypted in /root/.docker/config.json. | |
Configure a credential helper to remove this warning. See | |
https://docs.docker.com/engine/reference/commandline/login/#credentials-store | |
Login Succeeded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment