Skip to content

Commit

Permalink
fix: transforms images into a space delimited string
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed May 27, 2023
1 parent 16a08d5 commit 6dcb9b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/civ2.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 6dcb9b3

Please sign in to comment.