Skip to content

Commit 775a8af

Browse files
committed
fix issue
Signed-off-by: chensuyue <[email protected]>
1 parent 6481803 commit 775a8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/_get-image-list.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
docker_compose_yml=${{ github.workspace }}/.github/workflows/docker/compose/${service}-compose.yaml
4646
if [ -f "$docker_compose_yml" ]; then
4747
build_list=$(bash ${{ github.workspace }}/.github/workflows/scripts/get_cicd_list.sh "${{ inputs.mode }}" $docker_compose_yml)
48-
image_list=$(echo $build_list| jq -R 'split(",")' | jq -s 'add')
48+
image_list=$(echo ${image_list} | jq -s '.[0] + .[1] | unique' - <(echo ${build_list}))
4949
fi
5050
done
5151
fi

0 commit comments

Comments
 (0)