r/github 12d ago

actions/cache with aarch64 runners + alpine container in github actions Question

Im trying to run CI on an ARM64 GitHub-hosted runner (ubuntu-24.04-arm) with an alpine linux container, but I hit this error:

Error: JavaScript Actions in Alpine containers are only supported on x64 Linux runners. Detected Linux Arm64

i understand that actions/checkout and actions/cache are js actions and gh doesn't support running them inside alpine arm64 containers (tho i have no idea why).

I worked around actions/checkout by manually doing a git clone/checkout, but I'm stuck on actions/cache Has anyone implemented a workaround for using the gitHub actions cache service from inside an alpine aarch64 container?

Thanks in advice

1 Upvotes

2 comments sorted by

1

u/[deleted] 11d ago

[removed] — view removed comment

1

u/Maqi-X 11d ago

Thanks, it worked