Amend cloud run

This commit is contained in:
DominicJamesWhite 2025-04-10 19:03:38 +02:00
parent 3aa76e77ff
commit df7be9b86a

View File

@ -61,8 +61,9 @@ jobs:
echo "Found $service_count services to process."
# Loop through services defined in SERVICE_CONFIG variable
echo "${{ env.SERVICE_CONFIG }}" | yq -c '.services[]' | while IFS= read -r service_json; do
# Loop through services defined in SERVICE_CONFIG variable, outputting each as compact JSON
echo "${{ env.SERVICE_CONFIG }}" | yq -o=json --compact-output '.services[]' | while IFS= read -r service_json; do
# Parse the JSON object for this service
service_name=$(echo "$service_json" | yq -r '.name')
secret_env_var_name=$(echo "$service_json" | yq -r '.secret_name')