title: Docker run: invalid reference format
body: <p>I am getting this error:</p>
  
  <blockquote>
  <pre><code>docker: invalid reference format.
  See 'docker run --help'.
  </code></pre>
  </blockquote>
  
  <p>I have this:</p>
  
  <pre><code>docker run --rm   \
      "$ecr_endpoint/notifier-cli:latest"                \
      --build-exit-code "$exit_code"                     \
      --event 'build-end'
  </code></pre>
  
  <p>the exit status of the docker run command is 125, if that helps. I have no idea what's going on here...an identical command is running fine earlier in the script.</p>
  
  <p>the Dockerfile is like so:</p>
  
  <pre><code>FROM node:12
  
  USER root
  
  WORKDIR /app
  
  COPY . .
  
  ENTRYPOINT ["node", "main.js"]
  
  CMD []
  </code></pre>