[GH-ISSUE #742] [Apple Silicon] Failure 255 #471

Closed
opened 2026-03-01 21:43:42 +03:00 by kerem · 5 comments
Owner

Originally created by @AndreiCalazans on GitHub (Jun 22, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/742

Originally assigned to: @catthehacker on GitHub.

System information

  • Operating System: macOS
  • Architecture: arm64 (64-bit)
  • Apple M1: yes
  • Docker version: Server Version: 20.10.6
  • Docker image used in act: catthehacker/ubuntu:act-latest
  • act version: act version 0.2.23

Expected behaviour

I expected to be able to use act with a Silicon Mac

Actual behaviour

Running act in the command line outputs:

Docker Image CI/build] 🚀  Start image=catthehacker/ubuntu:act-latest
[Docker Image CI/build]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Docker Image CI/build]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root
[Docker Image CI/build] ⭐  Run Login to DockerHub
INFO[0000]   ☁  git clone 'https://github.com/docker/login-action' # ref=v1
[Docker Image CI/build]   🐳  docker cp src=/Users/andreicalazans/.cache/act/docker-login-action@v1/ dst=/var/run/act/actions/docker-login-action@v1/
[Docker Image CI/build]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/docker-login-action@v1/] user=
[Docker Image CI/build]   🐳  docker exec cmd=[node /var/run/act/actions/docker-login-action@v1/dist/index.js] user=
| /lib64/ld-linux-x86-64.so.2: No such file or directory
[Docker Image CI/build]   ❌  Failure - Login to DockerHub
Error: exit with `FAILURE`: 255


Steps to reproduce

On a M1 Mac:

  1. brew install act
  2. act
Originally created by @AndreiCalazans on GitHub (Jun 22, 2021). Original GitHub issue: https://github.com/nektos/act/issues/742 Originally assigned to: @catthehacker on GitHub. ## System information - Operating System: macOS - Architecture: arm64 (64-bit) - Apple M1: yes - Docker version: Server Version: 20.10.6 - Docker image used in `act`: catthehacker/ubuntu:act-latest - `act` version: act version 0.2.23 ## Expected behaviour I expected to be able to use act with a Silicon Mac ## Actual behaviour Running `act` in the command line outputs: ``` Docker Image CI/build] 🚀 Start image=catthehacker/ubuntu:act-latest [Docker Image CI/build] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Docker Image CI/build] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root [Docker Image CI/build] ⭐ Run Login to DockerHub INFO[0000] ☁ git clone 'https://github.com/docker/login-action' # ref=v1 [Docker Image CI/build] 🐳 docker cp src=/Users/andreicalazans/.cache/act/docker-login-action@v1/ dst=/var/run/act/actions/docker-login-action@v1/ [Docker Image CI/build] 🐳 docker exec cmd=[mkdir -p /var/run/act/actions/docker-login-action@v1/] user= [Docker Image CI/build] 🐳 docker exec cmd=[node /var/run/act/actions/docker-login-action@v1/dist/index.js] user= | /lib64/ld-linux-x86-64.so.2: No such file or directory [Docker Image CI/build] ❌ Failure - Login to DockerHub Error: exit with `FAILURE`: 255 ``` ## Steps to reproduce On a M1 Mac: 1) brew install act 2) act
kerem 2026-03-01 21:43:42 +03:00
Author
Owner

@catthehacker commented on GitHub (Jun 22, 2021):

Can you try running it again with --container-architecture linux/amd64?

<!-- gh-comment-id:866259830 --> @catthehacker commented on GitHub (Jun 22, 2021): Can you try running it again with `--container-architecture linux/amd64`?
Author
Owner

@catthehacker commented on GitHub (Jun 22, 2021):

Also it seems you leaked your API password
Don't forget to also remove old history with leaked password via options
image

<!-- gh-comment-id:866260417 --> @catthehacker commented on GitHub (Jun 22, 2021): Also it seems you leaked your API password Don't forget to also remove old history with leaked password via options ![image](https://user-images.githubusercontent.com/31106839/122985908-0447b080-d39f-11eb-9bd0-247af6e0af9c.png)
Author
Owner

@AndreiCalazans commented on GitHub (Jun 22, 2021):

Would you be kind enough to delete the revision history. I don't seem to have that option

Nevermind.

<!-- gh-comment-id:866264310 --> @AndreiCalazans commented on GitHub (Jun 22, 2021): ~Would you be kind enough to delete the revision history. I don't seem to have that option~ Nevermind.
Author
Owner

@AndreiCalazans commented on GitHub (Jun 22, 2021):

And thank you. The --container-architecture linux/amd64 works

I learned a lesson to validate what I'm copying and pasting.🤦‍♂️

<!-- gh-comment-id:866268865 --> @AndreiCalazans commented on GitHub (Jun 22, 2021): And thank you. The `--container-architecture linux/amd64` works I learned a lesson to validate what I'm copying and pasting.🤦‍♂️
Author
Owner

@catthehacker commented on GitHub (Jun 22, 2021):

Since you are using Apple with M1 CPU which is arm64, it tries to use arm64 CPU architecture so you need to specify manually the platform.
I will remove arm64 docker image or try to make it show some useful information regarding Apple M1/arm64

<!-- gh-comment-id:866272062 --> @catthehacker commented on GitHub (Jun 22, 2021): Since you are using Apple with M1 CPU which is `arm64`, it tries to use `arm64` CPU architecture so you need to specify manually the platform. I will remove `arm64` docker image or try to make it show some useful information regarding Apple M1/arm64
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#471
No description provided.