theofficialgman/chroot runner

Composite action to run commands within a chrooted environment

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
base_imageSystem base imageyesraspios_lite:latest
image_additional_mbAdditional MB for imageno0
bind_mount_repositoryBind mount repository instead of copying itnono
cpu_infoPath to cpu info file to be mounted on /proc/cpuinfono""
commandsCommands to run in the image, executed with /bin/shyesuname -a
copy_artifact_pathPaths of artifacts to copy from inside the image on completionno
copy_artifact_destWhere to copy artifacts on completionno.
copy_repository_pathWhere to copy repository path before running commandsno""
optimize_imageOptimize image during final cleanupnoyes
use_systemd_nspawnUse systemd-nspawn instead of chrootnono
systemd_nspawn_optionsOptions passed to systemd-nspawn, e.g. -E CI=${CI}no""
bootpartitionPartition number for boot (/boot), empty means noneno1
rootpartitionPartition number for root (/)no2
shellPath to shell to run the commands withno/bin/sh
shell_packageThe shell package to install, if different from shellno""
exit_on_failExit immediately if a command exits with a non-zero statusnoyes
debugDisplay commands as they are executednoyes
import_github_envImports $GITHUB_ENV variables into the image environmentnono
export_github_envExports $GITHUB_ENV from the image environment to subsequent tasksnono
enable_image_cachingCache images using actions/cachenoyes
install_standard_packagesInstall debian base standard packagesnono
namedescription
imagePath to image