mirror of
https://github.com/ditkrg/build-image-workflow.git
synced 2026-01-22 21:27:05 +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]}"
|
# extracted_element="${my_array[$index_to_extract]}"
|
||||||
|
|
||||||
# echo "Extracted element: $extracted_element"
|
# echo "Extracted element: $extracted_element"
|
||||||
fromJson = $(echo "$json" | jq -r '.tags | [.] | .[0]')
|
jsonOutput=$(echo "$json" | jq -r '.tags | [.] | .[0]')
|
||||||
echo "fromJson=$fromJson"
|
echo "fromJson: $jsonOutput"
|
||||||
|
|
||||||
echo "tag=$extracted_element" >> $GITHUB_OUTPUT
|
echo "tag=$extracted_element" >> $GITHUB_OUTPUT
|
||||||
env:
|
env:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user