Skip to content

Commit

Permalink
Appease shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Oct 9, 2024
1 parent 032c21e commit c8fb983
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion task/generate-labels/0.1/generate-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ spec:
printf "[]" > result.json
export label
for template in "${templates[@]}"; do
echo "Processing template $template"
export label=$(echo "$template" | envsubst)
label=$(echo "$template" | envsubst)
echo "Yielding label $label"
yq -oj -i '. += [strenv(label)]' result.json
done
Expand Down

0 comments on commit c8fb983

Please sign in to comment.