Skip to content

Commit

Permalink
Another attempt to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Feb 13, 2024
1 parent 493955c commit e9efb56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ jobs:
- name: transform
id: transform
run: |
OUTPUTS_JSON="${{ toJSON(needs.build.outputs) }}"
echo "OUTPUTS_JSON=${OUTPUTS_JSON}"
echo "${{ toJSON(needs.build.outputs) }}" >outputs.json
cat outputs.json
IMAGES_JSON="$(
jq '. as $everything | [ to_entries[] | select(.key | startswith("digest")) | {"image": $everything.image, "digest": .value}]' <<<"${OUTPUTS_JSON}"
jq --compact-output '. as $everything | [ to_entries[] | select(.key | startswith("digest")) | {"image": $everything.image, "digest": .value}]' outputs.json
)"
echo "IMAGES_JSON=${IMAGES_JSON}"
Expand Down

0 comments on commit e9efb56

Please sign in to comment.