Skip to content

Commit 220c8b5

Browse files
update workflow to use environment variable for image json
1 parent 12d5d8a commit 220c8b5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@ jobs:
8686
echo "images=$images" >> $GITHUB_ENV
8787
- name: Images (for workflow_call)
8888
if: inputs.image_json
89+
env:
90+
image: ${{ inputs.image_json }}
8991
run: |
90-
images="${{ inputs.image_json }}"
91-
images="$(<<< $images jq -c '[ . ]')"
92+
images="$(<<< $image jq -c '[ . ]')"
9293
<<< $images jq
9394
echo "images=$images" >> $GITHUB_ENV
9495
- name: Images with Extras

0 commit comments

Comments
 (0)