From 343d25d10fca5b057efd729ca339e67130b8bfe0 Mon Sep 17 00:00:00 2001 From: gaelL Date: Mon, 19 Jan 2026 10:26:44 +0100 Subject: [PATCH] versionning: update to be able to use versionning --- terraform-sample/pipeline/pipeline.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/terraform-sample/pipeline/pipeline.yml b/terraform-sample/pipeline/pipeline.yml index 19f21d5..1e5eeaf 100644 --- a/terraform-sample/pipeline/pipeline.yml +++ b/terraform-sample/pipeline/pipeline.yml @@ -77,7 +77,13 @@ resources: icon: github-circle source: uri: ($ .catalog_repository_url $) - branch: ($ .catalog_repository_branch $) + ($- if eq .stack_version_type "branch" $) + branch: ($ .stack_version_ref $) + ($- end $) + ($- if eq .stack_version_type "tag" $) + tag_filter: ($ .stack_version_ref $) + fetch_tags: true + ($- end $) # Stack templating examples: # https://docs.cycloid.io/reference/stack/concepts/templating/ ($- if eq .catalog_repository_credential_type "basic_auth" $)