Currently there's no way to define a parameterised pipeline in Spindle.
One solution could be something similar to how GitHub defines parameterised pipelines: https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations#adding-a-matrix-strategy-to-your-workflow-job