Closed localheinz closed 1 year ago
Not sure if that even makes sense.
I understand the reasoning but no:
Containerfile
doesn't suffice. We still need would to adopt it into the stripped image (see build.xml
)What we could consider doing is creating a dedicated image on ghcr.io
for this purpose, based on the "offical" build image (we can't use the stripped image because it doesn't contain mkdir
and ln
). I wouldn't know how to do that though as of yet ;)
This pull request
/github/
directory and a symbolic link from/repo/
to/github/workspace/
💁♂️ I am unsure how to mount a volume when using a Docker image in a GitHub Actions step. However, as you can see in https://github.com/ergebnis/playground/actions/runs/4053829531/jobs/6974917526#step:10:13, GitHub mounts the GitHub workspace directory, e.g.,
/home/runner/work/playground/playground
to/github/workspace
, so by creating a symbolic link from/github/workspace
to/repo
should make the failing workflow referenced above pass.What do you think?