nektos / act

Run your GitHub Actions locally 🚀
https://nektosact.com
MIT License
52k stars 1.3k forks source link

Support for Lima #1921

Open XVilka opened 11 months ago

XVilka commented 11 months ago

Act version

*

Feature description

On the macOS world Lima is the leading FOSS solution for running Linux (and even BSD! containers).

Having support in act for it would simplify testing actions on the macOS hosts greatly.

dumganhar commented 10 months ago

I also look forward to this.

thederby commented 9 months ago

You can use act with colima if you set DOCKER_HOST to the correct location:

colima start export DOCKER_HOST="unix://${HOME}/.colima/default/docker.sock" act

You can alternatively symlink the colima docker.sock to the default docker location, but this may break other docker servers:

https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#cannot-connect-to-the-docker-daemon-at-unixvarrundockersock-is-the-docker-daemon-running