We have a monorepo and need to be able to build multiple containers in parallel. However, how many we need to build will change each time to pipeline is run. so I have the following logic:
generate list of containers to build --> generate parallel steps --> run the parallel steps
pseudo-code
pipelines: default:
- step:
script:
- generate list of changed services
artifact:
- the list
- step:
script: create parallel steps
- parallel: \
- step: build container #1
- step: build container #2
is this possible in bitbucket pipelines?