The Runner Container Hooks repo provides a set of packages that implement the container hooks feature in the actions/runner. These can be used as is, or you can use them as a guide to implement your own hooks.
More information on how to implement your own hooks can be found in the adr. The examples
folder provides example inputs for each hook.
Three projects are included in the packages
folder
- k8s: A kubernetes hook implementation that spins up pods dynamically to run a job. More details can be found in the readme
- docker: A hook implementation of the runner's docker implementation. More details can be found in the readme
- hooklib: a shared library which contains typescript definitions and utilities that the other projects consume
We welcome contributions. See how to contribute to get started.
This project is licensed under the terms of the MIT open source license. Please refer to MIT for the full terms.
See the Codeowners
Find a bug? Please file an issue in this repository using the issue templates.
See our Code of Conduct