title: Copy file from Docker container to Github repository
body: <p>I have a Dockerfile and a tex file in my repository. I use Github Actions to build an image(ubuntu 18.10 with packages for PDFLaTeX) and run a container, which gets main.tex and produces main.pdf with PDFLaTeX. So far everything seems to work OK, but the problem is I can't copy the pdf from container to repository. I tried using docker cp:</p>
  <p><code>docker cp pdf-creator:/main.tex .</code></p>
  <p>But it doesn't seem to work, as pdf doesn't appear in my repository. Can you think of any other way to solve this?</p>