What are the limitations of Docker container actions?
IntermediateConceptCustom Actions & Reusable Workflows
Answer
Linux runners only (Container action is only supported on Linux elsewhere), the runner must have Docker (some self-hosted and ARC Kubernetes-mode runners do not), slower startup due to build or pull, and files they create may be owned by root in the workspace. They cannot easily use tools installed on the host by earlier steps. For cross-platform actions, choose JavaScript.
More on Custom Actions & Reusable Workflows
What are the three kinds of custom action and how do you choose?BeginnerWrite a minimal composite action that installs Node and dependencies with caching.IntermediateWhat can a composite action not do compared to a job?IntermediateHow do you pass outputs out of a composite action?IntermediateWhat does `action.yml` contain for a JavaScript action?IntermediateWhy must a JavaScript action commit its `dist/` or `node_modules`?Intermediate