def binary_container_build(task_args: dict): """Run a binary container build. :param task_args: CLI arguments for a binary-container-build task """ params = BinaryBuildTaskParams.from_cli_args(task_args) task = BinaryBuildTask(params) return task.run()
def aarch64_task_params(base_task_params) -> BinaryBuildTaskParams: return BinaryBuildTaskParams(**base_task_params, platform="aarch64")
def x86_task_params(base_task_params) -> BinaryBuildTaskParams: return BinaryBuildTaskParams(**base_task_params, platform="x86_64")