title: Docker - Error: Cannot perform an interactive login from a non TTY device (GCP Service Account)
body: <p>The command <code>docker login -u _json_key --password-stdin https://gcr.io &lt; ~/service-account.json</code> works locally, but when I try to run it in a CI environment like Github Actions, I get the following error.</p>
  <blockquote>
  <p>Error: Cannot perform an interactive login from a non TTY device</p>
  <p>##[error]Process completed with exit code 1.</p>
  </blockquote>