theofficialgman/chroot runner
Composite action to run commands within a chrooted environment
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base_image | System base image | yes | raspios_lite:latest |
| image_additional_mb | Additional MB for image | no | 0 |
| bind_mount_repository | Bind mount repository instead of copying it | no | no |
| cpu_info | Path to cpu info file to be mounted on /proc/cpuinfo | no | "" |
| commands | Commands to run in the image, executed with /bin/sh | yes | uname -a |
| copy_artifact_path | Paths of artifacts to copy from inside the image on completion | no | — |
| copy_artifact_dest | Where to copy artifacts on completion | no | . |
| copy_repository_path | Where to copy repository path before running commands | no | "" |
| optimize_image | Optimize image during final cleanup | no | yes |
| use_systemd_nspawn | Use systemd-nspawn instead of chroot | no | no |
| systemd_nspawn_options | Options passed to systemd-nspawn, e.g. -E CI=${CI} | no | "" |
| bootpartition | Partition number for boot (/boot), empty means none | no | 1 |
| rootpartition | Partition number for root (/) | no | 2 |
| shell | Path to shell to run the commands with | no | /bin/sh |
| shell_package | The shell package to install, if different from shell | no | "" |
| exit_on_fail | Exit immediately if a command exits with a non-zero status | no | yes |
| debug | Display commands as they are executed | no | yes |
| import_github_env | Imports $GITHUB_ENV variables into the image environment | no | no |
| export_github_env | Exports $GITHUB_ENV from the image environment to subsequent tasks | no | no |
| enable_image_caching | Cache images using actions/cache | no | yes |
| install_standard_packages | Install debian base standard packages | no | no |
Outputs
| name | description |
|---|---|
| image | Path to image |