title: Cannot perform an interactive login from a non TTY device when login from Github to Docker?
body: <p>My GitHub actions return the following error when I try to login to docker from Github,</p>
  <p>Cannot perform an interactive login from a non-TTY device</p>
  <p>Here is my sample deployment file and I have stored my docker username and DockerHub Token under the <strong>Dependabot secrets</strong></p>
  <p>What's wrong here?</p>
  <pre><code>name: deploy-auth
  
  on:
    push:
      branches: [ &quot;master&quot; ]
      paths:
        - 'auth/**'
  
  jobs:
  
    build:
  
      runs-on: ubuntu-latest
  
      steps:
      - uses: actions/checkout@v2
      - run: cd auth &amp;&amp; docker build -t myusername/auth .
      - run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD --password-stdin
        env:
          DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
          DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
      - run: docker push myusername/auth
  </code></pre>