I'm trying to setup nektos/act locally so I can test my github workflows. When I run act -l I'm receving the follow working.

⚠ You are using Apple M1 chip and you have not specified container architecture, you might encounter issues while running act. If so, try running it with '--container-architecture linux/amd64'. ⚠

Do you know how can why and how I can get rid of this warning?

Not sure if this is true, but it seems that I need to configure something in docker?

2

There are 2 answers

0
Bijan On

Run it with linux/arm64 (fitting to your processor) to skip the warning:

act --container-architecture linux/arm64

Though it is not necessary: "If not specified, will use host default architecture. Requires Docker server API Version 1.41+. Ignored on earlier Docker server platforms."

0
Leopoldo Manfio On

Just add --container-architecture linux/amd64 and it should be fine.

act --container-architecture linux/amd64