Skip to content

Commit 1882226

Browse files
committed
chore: force string context
1 parent 9ef1aae commit 1882226

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/dockerhub-release-matrix.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
first=true
113113
114114
# For each version in the matrix config
115-
for row in $(echo '${{ needs.prepare.outputs.matrix_config }}' | jq -c '.include[]'); do
115+
for row in $(echo '${{ needs.prepare.outputs.matrix_config }}' | jq -rc '.include[]'); do
116116
version=$(echo $row | jq -r '.version')
117117
118118
if [ "$first" = true ]; then
@@ -129,15 +129,14 @@ jobs:
129129
PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'$version'"]' ansible/vars.yml)
130130
fi
131131
PG_VERSION=$(echo $PG_VERSION | tr -d '"')
132-
132+
133133
versions_array+="\"$version\""
134134
tags_array+="\"supabase/postgres:$PG_VERSION\""
135135
done
136136
137137
versions_array+="]"
138138
tags_array+="]"
139139
140-
# Set outputs
141140
echo "versions=$versions_array" >> $GITHUB_OUTPUT
142141
echo "image_tags=$tags_array" >> $GITHUB_OUTPUT
143142

0 commit comments

Comments
 (0)