Instead of using convert_to_docker_entry, use handlebars helper function.
Eventually, file rendering will look similar to this. (grammar unchecked)
Rust part
// this function returns a Handlebars instance with the helper "default_path" registered
let renderer = templates::renderer_with_default_path(format!("/home/{}", repo_name));
renderer.render_templates(...)
Instead of using
convert_to_docker_entry
, use handlebars helper function. Eventually, file rendering will look similar to this. (grammar unchecked)Rust part
Template part