Multiple use templates
<!-- This template is a great use for issues that are feature::additions or technical tasks for larger issues.--> ### Proposal Allow for templates to be used multiple times. We have projects that have multi-container built pod setups for deployment. We need way to have both containers scanned. Currently the existing template (https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Jobs/Container-Scanning.gitlab-ci.yml) can only be used once `container_scanning` job. Need a way to use this as a `.container_scanning` that can be extended to be used multiple times: ``` container_scanning-httpd: needs: - build httpd variables: CS_IMAGE: example.com/user/httpd:tag extends: .container-scanning container_scanning-php: needs: - build php variables: CS_IMAGE: example.com/user/php:tag extends: .container-scanning ``` <!-- Consider adding related issues and epics to this issue. You can also reference the Feature Proposal Template (https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/issue_templates/Feature%20proposal%20-%20detailed.md) for additional details to consider adding to this issue. Additionally, as a data oriented organization, when your feature exits planning breakdown, consider adding the `What does success look like, and how can we measure that?` section. --> <!-- Label reminders Use the following resources to find the appropriate labels: - https://gitlab.com/gitlab-org/gitlab/-/labels - https://about.gitlab.com/handbook/product/categories/features/ -->
issue