Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not log in to Docker registry #5

Open
frwickst opened this issue Feb 24, 2021 · 1 comment
Open

Can not log in to Docker registry #5

frwickst opened this issue Feb 24, 2021 · 1 comment
Labels
infos needed Extra informations are needed

Comments

@frwickst
Copy link

Running docker login -u <username> -p <password> will throw the following error:

Error: Cannot perform an interactive login from a non TTY device

I can use --password-stdin like:
echo "bar" | docker login --username foo --password-stdin
to get around this, but mainly pointing out that glci does not handle this the same way as GitLabs CI Runner would (at least not the Kubernetes ones).

@mdubourg001
Copy link
Owner

Can you copy/paste the .gitlab-ci.yml declaration of the problematic job, or even the whole file is this is ok for you ? I just tried a login using using -u -p on the official docker:latest image and this seems to work.

Also, thanks for reporting this ! 👌

@mdubourg001 mdubourg001 added the infos needed Extra informations are needed label Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infos needed Extra informations are needed
Projects
None yet
Development

No branches or pull requests

2 participants