Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -18,7 +18,7 @@ pub struct DroneTemplater {
|
||||
impl DroneTemplater {
|
||||
pub fn new(client: dagger_sdk::Query, template: impl Into<PathBuf>) -> Self {
|
||||
Self {
|
||||
client: client.pipeline("drone-templater"),
|
||||
client,
|
||||
template: template.into(),
|
||||
variables: BTreeMap::default(),
|
||||
}
|
||||
@@ -56,7 +56,7 @@ impl MainAction for DroneTemplater {
|
||||
|
||||
let template_name = self.template.display().to_string();
|
||||
|
||||
let mut cmd = vec!["drone-templater", "upload", "--template", &template_name]
|
||||
let cmd = vec!["drone-templater", "upload", "--template", &template_name]
|
||||
.into_iter()
|
||||
.map(|v| v.to_string())
|
||||
.chain(
|
||||
|
Reference in New Issue
Block a user