Node 20
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
Node 20 is not included in the ACT images and GitHub wants everyone to move over to Node 20 for GitHub Actions.
This now hit me on my homelab setup because docker/setup-buildx-action has switched to the new crypto inbuilt as of 6 hours ago and broke running on these wonderful images.
You can probably switch to one of the js images:
note these lines in js.sh.
From the Docs
/linux/ubuntu/js - ghcr.io/catthehacker/ubuntu:act-* but with js tools installed (yarn, nvm, node v16/v18, pnpm, grunt, etc.)
ghcr.io/catthehacker/ubuntu:js-20.04 ghcr.io/catthehacker/ubuntu:js-22.04 ghcr.io/catthehacker/ubuntu:js-latest
Docker Hub
I tried doing this the container has this issue that the PATH is hardcoded to node 18.
So I made a new container based on the one I wanted and replaced the node version:
FROM catthehacker/ubuntu:js-22.04
ENV PATH="/opt/acttoolcache/node/20.18.0/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
After that I run act -P=ubuntu-22.04=dhruv/ubuntu:js-22.04-fixed --pull=false
Should be fixed by #139