Last active
November 19, 2024 13:21
-
-
Save larstobi/601d9802402be9f7d6649358b9970431 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- ${{ each environment in parameters.environments }}: | |
- stage: ${{ environment.name }} | |
jobs: | |
- ${{ each app in parameters.apps }}: | |
- job: deploy-${{ environment.name }}-${{ app.name }} | |
variables: | |
registry: ${{ environment.registry }} | |
helmParams: ${{ replace(app.helmParamsTemplate, '{registry}', environment.registry) }} | |
steps: | |
- template: deploy.yaml | |
parameters: | |
registry: $(registry) | |
helmParams: $(helmParams) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment