Dockerアクションとは?
Dockerアクションは、Dockerfileからビルドされるか、registryからpullされたコンテナイメージ内でロジックが実行されるアクションです。イメージが独自の依存関係を持つため、runnerに何がインストールされているかに関わらず同じように動作します。起動コストと引き換えに、強力な分離と自己完結した環境を得られます。
なぜ重要か
Dockerアクションを使えば、作者はrunnerを汚したりプリインストールされたツールに頼ったりせずに、正確な環境を提供できます。その代償は、イメージのpullとコンテナ起動の時間、そしてコンテナをサポートするrunnerのOSへの制限です。重い、あるいは特殊な依存関係を持つアクションに適しています。
関連ガイド
What Is a JavaScript Action?A JavaScript action is a CI action that runs as a Node program directly on the runner, starting fast and work…
What Is the Action runs.using Field?The runs.using field in an action manifest declares the action's execution model, such as a JavaScript runtim…
What Is a Container Registry?A container registry is a storage and distribution service for container images, where builds push and deploy…