Docker Login Gitlab ci/cd

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

this is error , I am using this command in two branch , in branch Master working, but in test branch not working.

 echo "$DOCKER_REGISTRY_PASSWORD" | docker login -u $DOCKER_REGISTRY_USER --password-stdin

but not working , what is problem ?

1 Answers
Related