From 6dcb9b346619447434c389647b7a831698f43e04 Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Sat, 27 May 2023 11:42:09 -0700 Subject: [PATCH] fix: transforms images into a space delimited string --- .github/workflows/civ2.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/civ2.yml b/.github/workflows/civ2.yml index 939ebbeeb6..6f43ce7986 100644 --- a/.github/workflows/civ2.yml +++ b/.github/workflows/civ2.yml @@ -37,7 +37,9 @@ jobs: run: | #JSON_OUTPUT=$(ci scan -jit docker ./containers ./src ./services ./utilities) JSON_OUTPUT=$(ci scan -jit docker ./containers) - echo "json=$JSON_OUTPUT" >>$GITHUB_OUTPUT + JSON_OUTPUT_FINAL=$(echo "$JSON_OUTPUT" | jq -r '[.[] | .images |= join(" ")]') + + echo "json=$JSON_OUTPUT_FINAL" >>$GITHUB_OUTPUT cache: runs-on: ubuntu-latest @@ -97,7 +99,7 @@ jobs: --buildkit-host "tcp://${{ secrets.EARTHLY_SATELLITE_ADDRESS }}:8372" \ ${{ matrix.target.path }}+docker - echo "${{ toJSON(matrix.target.images) }}" | jq + echo "${{ matrix.target.images }}" # TAG=${{ github.sha }} # NEW_IMAGE="${{ env.ECR_REGISTRY }}/$IMAGE_NAME:$TAG"