diff --git a/.github/workflows/_get-image-list.yml b/.github/workflows/_get-image-list.yml index eb806dcc60..20a57b84ab 100644 --- a/.github/workflows/_get-image-list.yml +++ b/.github/workflows/_get-image-list.yml @@ -45,7 +45,7 @@ jobs: docker_compose_yml=${{ github.workspace }}/.github/workflows/docker/compose/${service}-compose.yaml if [ -f "$docker_compose_yml" ]; then build_list=$(bash ${{ github.workspace }}/.github/workflows/scripts/get_cicd_list.sh "${{ inputs.mode }}" $docker_compose_yml) - image_list=$(echo $build_list| jq -R 'split(",")' | jq -s 'add') + image_list=$(echo ${image_list} | jq -s '.[0] + .[1] | unique' - <(echo ${build_list})) fi done fi