mirror of
https://github.com/ditkrg/build-image-workflow.git
synced 2026-01-22 23:27:06 +00:00
Refactor variable name and update echo statement in action.yml
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
4ddd760bcc
commit
4a4669077d
@ -92,8 +92,8 @@ runs:
|
||||
# extracted_element="${my_array[$index_to_extract]}"
|
||||
|
||||
# echo "Extracted element: $extracted_element"
|
||||
fromJson = $(echo "$json" | jq -r '.tags | [.] | .[0]')
|
||||
echo "fromJson=$fromJson"
|
||||
jsonOutput=$(echo "$json" | jq -r '.tags | [.] | .[0]')
|
||||
echo "fromJson: $jsonOutput"
|
||||
|
||||
echo "tag=$extracted_element" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user