From d50f2f1ee5c79d22391ef02632d72d88abaf417a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 30 Aug 2024 14:31:26 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/manual-docker-scan.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manual-docker-scan.yml b/.github/workflows/manual-docker-scan.yml index e3c2679526..9467681fa0 100644 --- a/.github/workflows/manual-docker-scan.yml +++ b/.github/workflows/manual-docker-scan.yml @@ -59,13 +59,13 @@ jobs: image_list=$(echo ${image_list} | jq -s '.[0] + .[1] | unique' - <(echo ${images})) done fi - + if [[ ! -z "${{ inputs.images }}" ]]; then images=($(echo ${{ inputs.images }} | tr ',' ' ')) input_image_list=$(printf '%s\n' "${images[@]}" | sort -u | jq -R '.' | jq -sc '.') image_list=$(echo ${image_list} | jq -s '.[0] + .[1] | unique' - <(echo ${input_image_list})) fi - + echo "print image list..." echo "$image_list" | jq . | jq -r '.[]' echo "end of image list..."