title: Build Docker image using GitHub Actions: No such file or directory
body: <p>We intend to use Git Actions to build our Docker on every commit.</p>
  <p>This is our current Git Actions yml:</p>
  <pre><code># This is a basic workflow to help you get started with Actions
  
  name: CI
  
  # Controls when the workflow will run
  on:
    push:
      branches: 
        - '**'
    pull_request:
      branches:
        - '**'
  
    # Allows you to run this workflow manually from the Actions tab
    workflow_dispatch:
  
  # A workflow run is made up of one or more jobs that can run sequentially or in parallel
  jobs:
  
    docker-build:
      runs-on: ubuntu-latest
      steps:
        - uses: actions/checkout@v2
        
        - name: Navigate to app folder
          run: cd app
        - name: Open Directory
          working-directory: app
          run: |
            ls -la
        - name: Build docker image
          run: docker build . -t app_name -f Dockerfile
  </code></pre>
  <p>The error I get is:</p>
  <pre><code>unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/runner/work/git-root/app/Dockerfile: no such file or directory
  </code></pre>
  <p>But in my <code>ls -la</code> i see the Dockerfile is present:</p>
  <pre><code>total 48
  drwxr-xr-x 4 runner docker 4096 Sep 15 13:03 .
  drwxr-xr-x 6 runner docker 4096 Sep 15 13:03 ..
  -rw-r--r-- 1 runner docker   93 Sep 15 13:03 .env-template
  -rw-r--r-- 1 runner docker  655 Sep 15 13:03 Dockerfile
  </code></pre>
  <p>I have tried:</p>
  <ul>
  <li>Using both <code>actions/checkout@v1</code> and <code>actions/checkout@v2</code></li>
  <li>cd into the directory with the Dockerfile</li>
  <li>setting Dockerfile directory to working-directory</li>
  </ul>
  <p>Why does not the docker build find my Dockerfile?</p>