When building an image on Quay.io, the following error appears:
A build step failed: API error (500): Cannot locate specified Dockerfile: Dockerfile
Unlike the Docker Hub, the Dockerfile is part of the Build Context on Quay. Thus, it must not appear in .dockerignore file.
Verify the Dockerfile location and the branch/tag value specified in the build trigger.