diff --git a/templates/full-pipeline.yml b/templates/full-pipeline.yml index 450dfb7d029dec242cc6e33e5058417bcb0aedff..cf7ce9c7a59ae9c106a80fe5872a3067e475a982 100644 --- a/templates/full-pipeline.yml +++ b/templates/full-pipeline.yml @@ -98,14 +98,15 @@ include: destroy: stage: cleanup trigger: - include: /templates/destroy-pipeline.yml + include: + - local: /templates/destroy-pipeline.yml + inputs: + version: $[[ inputs.version ]] + opentofu_version: $[[ inputs.opentofu_version ]] + image_registry_base: $[[ inputs.image_registry_base ]] + root_dir: $[[ inputs.root_dir ]] + state_name: $[[ inputs.state_name ]] + auto_destroy: $[[ inputs.auto_destroy ]] strategy: depend - inputs: - version: $[[ inputs.version ]] - opentofu_version: $[[ inputs.opentofu_version ]] - image_registry_base: $[[ inputs.image_registry_base ]] - root_dir: $[[ inputs.root_dir ]] - state_name: $[[ inputs.state_name ]] - auto_destroy: $[[ inputs.auto_destroy ]] rules: - when: manual