I am working on a monorepo gitlab ci. When a new tag is created I need to build a docker image and choose an ECR repo to push the image based on the folder that has changes.
only:
tag pattern
lets me trigger the pipeline, but how do I get the folder name?