Docker login failed, only PR trigger

I use own docker image of DockerHub private registry.

My docker image is private, need login.

Code push and Bitrise CLI are success login docker registry, but PR requests is fail login docker registry.

Error message is

$ docker login -u $USERNAME -p $PASSWORD
Error: Cannot perform an interactive login from a non TTY device

I think maybe bash is suspicious.

Code push
PR requests

Sorry poor english.

1 Like

Hi @sakebook,

You most likely specified those env vars in Secrets. As noted on the UI, right now Secrets are never exposed for pull request builds. Please see: Exact same workflow fails with PR event as opposed to push event/manual run

If you’d want to be able to specify which secrets can be exposed for pull request builds, please vote & comment on this #feature-request : Secret Env Vars and (Generic) File Storage files: control whether it’s available in Pull Request builds

And of course if you have any questions just let us know! :wink:

1 Like

Thank you reply!

I see. I was misunderstanding the problem. And I missed the note.

I voted :thumbsup:

1 Like

No problem at all and thank you! :wink: