Skip to content

Commit eed3c07

Browse files
committed
feat/ci: Add main branch matrix
Signed-off-by: SeeuSim <[email protected]>
1 parent ecf938b commit eed3c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
'{package: $pkg, image: $img, context: $ctx, dockerfile: $dkr, "build-args": $bag}')
9797
matrix+=("$config")
9898
fi
99-
formatted_matrix=$(echo "[${matrix[*]}]" | jq -c .)
99+
formatted_matrix=$(echo "${matrix[@]}" | jq -cs .)
100100
echo "Outputs Generated: $formatted_matrix"
101101
echo "matrix=$formatted_matrix" >> $GITHUB_OUTPUT
102102

0 commit comments

Comments
 (0)