Closed chasen-bettinger closed 2 years ago
Using act -P ubuntu-latest=catthehacker/ubuntu:act-latest
was giving me the same error.
Using act -P ubuntu-latest=catthehacker/ubuntu:js-latest-dev
solved it, per https://github.com/catthehacker/docker_images/issues/8#issuecomment-850501107
Sample log of error:
[Audit/Audit Project] ๐ฌ ::debug::Caching tool node 14.18.2 x64
[Audit/Audit Project] ๐ฌ ::debug::source dir: /tmp/b41be4d1-cc18-4e09-a0f1-b1db786fc559
[Audit/Audit Project] ๐ฌ ::debug::destination /opt/hostedtoolcache/node/14.18.2/x64
[Audit/Audit Project] ๐ฌ ::debug::finished caching tool
| Done
[Audit/Audit Project] โ ::error::Unable to locate executable file: yarn. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
Yarn is available in images, trying to execute it directly in docker container will not work due to PATH
being different
To reproduce:
Issue first noticed while trying to use with act.
Here is my logs from doing so: