diff --git a/tekton/triggertemplates/deploy.yaml b/tekton/triggertemplates/deploy.yaml index b679f09..cbdd6d6 100644 --- a/tekton/triggertemplates/deploy.yaml +++ b/tekton/triggertemplates/deploy.yaml @@ -22,7 +22,7 @@ spec: - apiVersion: tekton.dev/v1beta1 kind: PipelineRun metadata: - generateName: deploy-project- + generateName: deploy-$(params.projectname)- spec: pipelineRef: name: deploy-project diff --git a/tekton/triggertemplates/pr.yaml b/tekton/triggertemplates/pr.yaml index 17ff6f3..f31cbbf 100644 --- a/tekton/triggertemplates/pr.yaml +++ b/tekton/triggertemplates/pr.yaml @@ -21,7 +21,7 @@ spec: - apiVersion: tekton.dev/v1beta1 kind: PipelineRun metadata: - generateName: pr-project- + generateName: pr-$(params.projectname)- spec: pipelineRef: name: pr-project diff --git a/tekton/triggertemplates/tag.yaml b/tekton/triggertemplates/tag.yaml index b67d35f..d9ade4b 100644 --- a/tekton/triggertemplates/tag.yaml +++ b/tekton/triggertemplates/tag.yaml @@ -22,7 +22,7 @@ spec: - apiVersion: tekton.dev/v1beta1 kind: PipelineRun metadata: - generateName: project-tag- + generateName: tag-$(params.projectname)- spec: pipelineRef: name: project-tag