Closed hoijui closed 11 months ago
Hm, the reuse-action uses the Docker image fsfe/reuse:latest
. From what I can see, we install reuse in /opt/venv/bin
which is also part of $PATH
. So actually, using this image, you can use reuse
to call the tool.
All we do with the actions is to switch the workdir to /github/workspace
which is where Github mounts the repo to, and set a default entrypoint and cmd which match the base image IIRC.
Do you have a concrete workflow that we could test? If you run into issues, it would be interesting if you could echo the $PATH.
@hoijui Did you see my comment? Do you have a case which we could debug?
Closing as no suitable test case was given.
... that's what I would like. :-) In my github action definition, in a step after using this action, I run a bash script that internally uses the reuse tool. I run this bash script both on my machine and in CI, to get a reproducible/same/similar testing scenario of my project on my local machine and on CI. For that to work, the
reuse
tool would have to be in the PATH.Looking on the base Docker files docu page, I saw that it supposedly is in
~/.local/bin
. Not sure if that~
refers to the same user as is running the GH action though, or if we would have to use~reuse/.local/bin
or something, instead.