File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,10 @@ Example: `"0/100"`
9999
100100The region we deploy the ECS Service to.
101101
102+ # ## `env` (optional)
103+
104+ An array of environment variables to add to *every* image's task definition
105+
102106# # AWS Roles
103107
104108At a minimum this plugin requires the following AWS permissions to be granted to the agent running this step :
Original file line number Diff line number Diff line change 126126# # This adds the env vars to each container
127127image_idx=0
128128for image in " ${images[@]} " ; do
129- container_definitions_json=$( echo " $container_definitions_json " | jq " .[${image_idx} ].environment=[]"
130- )
131129 for env_var in " ${env_vars[@]} " ; do
132130 # shellcheck disable=SC2206
133131 var_val=(${env_var// =/ } )
You can’t perform that action at this time.
0 commit comments