Description
🔖 Feature description
Currently, Devtron CI allows passing runtime parameters during pipeline execution, but these parameters are not automatically exposed as environment variables within the CI pipeline steps. This limits the usability of dynamic configurations and custom scripting within the build process.
If anyone wants to use the variable value in any scripting then they have use JQ or some other tool to grep the value from CI_CD_EVENTS variable, which obviously is not known by any end user.
🎤 Pitch / Usecases
We have a use case to update the Base Docker image, which we can pass from the build args of the docker build, and we are passing the value of base Image using a runtime Parameter to grep the value I'm passing build args like this
Key: BASE_IMAGE
Value: (echo $CI_CD_EVENT | jq -r .commonWorkflowRequest.runtimeEnvironmentVariables.BASE_IMAGE)
By enabling this feature, the user can directly use the Value like $BASE_IMAGE
🔄️ Alternative
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct