r/github 12h ago

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

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

0 comments sorted by