Workflow run fails with exec format error

1 minute readKnowledge base

Issue

My workflow run fails with the following error

cloudbees-runtime: fork/exec /bin/sh: exec format error

Environment

Resolution

This error can happen when using container images in your workflow built for OS or CPU architectures that are not currently supported.

Check that your container image (see the uses: …​ line in your workflow steps) is built for the OS/ARCH of linux/amd64 (as of December 2023).