1

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?

Ricardo Rocha
  • 14,612
  • 20
  • 74
  • 130

2 Answers2

1

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

Blockquote act --container-architecture linux/amd64 -j e2e-test

0

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."

Bijan
  • 25,559
  • 8
  • 79
  • 71