File tree 2 files changed +1
-6
lines changed
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 20
20
env :
21
21
PYTHON_VERSION : ${{ vars.PYTHON_VERSION }}
22
22
outputs :
23
- parent_image_type : ${{ steps.get-diff.outputs.parent_image_type }}
24
23
include : ${{ steps.get-diff.outputs.include }}
25
24
steps :
26
25
- name : Checkout Repository
51
50
PYTHON_VERSION : ${{ vars.PYTHON_VERSION }}
52
51
strategy :
53
52
matrix :
54
- parent_image_type : ${{ fromJson(needs.pi-diff.outputs.parent_image_type) }}
55
53
include : ${{ fromJson(needs.pi-diff.outputs.include) }}
56
54
steps :
57
55
- name : Print matrix values - ${{ matrix.parent_image_type }}
Original file line number Diff line number Diff line change @@ -27,17 +27,14 @@ while IFS= read -r file; do
27
27
28
28
done <<< " $UPDATED_FILES"
29
29
30
- PARENT_IMAGE_TYPES=" "
31
30
INCLUDES=" "
32
31
for parent_image_type in " ${UPDATED_PARENT_TYPES[@]} " ; do
33
- PARENT_IMAGE_TYPES+=' "' $parent_image_type ' ",'
34
32
eval ' APP_REPOS=( "${' $( echo ${parent_image_type} | sed " s|-|_|g" ) ' [@]}" )'
35
33
for app in " ${APP_REPOS[@]} " ; do
36
34
INCLUDES+=' { "parent_image_type": "' ${parent_image_type} ' ", "app": "' ${app} ' " },'
37
35
done
38
36
done
39
37
40
- MATRIX=' {"parent_image_type": [ ' ${PARENT_IMAGE_TYPES ::- 1} ' ]," include": [' ${INCLUDES::- 1} ' ]}'
38
+ MATRIX=' {"include": [' ${INCLUDES::- 1} ' ]}'
41
39
echo $MATRIX | jq -C --indent 2 ' .'
42
- echo " parent_image_type=[${PARENT_IMAGE_TYPES::- 1} ]" >> $GITHUB_OUTPUT
43
40
echo " include=[${INCLUDES::- 1} ]" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments