'Populate parameters object during runtime using powershell - Azure Devops
Is there a way to populate a parameters object using powershell on Azure DevOps in order to use it on a later stage?
parameters:
- name: containersList
type: object
default: []
For example I have stage1 and stage2. On stage1 I want to populate this containersList with images names and on stage2 I want to push them using a Loop on a container registry. Can you provide another solution/approach?
I am thinking also a .txt file which will be created on stage1 will hold the container names and will be parsed on stage2 again for the pushing procedure.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
