Commented out unnecessary code

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2024-03-06 12:41:56 +03:00
parent ae829aefaa
commit 4ddd760bcc
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -81,17 +81,17 @@ runs:
shell: bash shell: bash
run: | run: |
# Define an array of strings # Define an array of strings
my_array=reg.dev.krd/dms/client:dev-cb54d82 # my_array=reg.dev.krd/dms/client:dev-cb54d82
reg.dev.krd/dms/client:dev # reg.dev.krd/dms/client:dev
reg.dev.krd/dms/client:dev-cache # reg.dev.krd/dms/client:dev-cache
# Specify the index you want to extract # # Specify the index you want to extract
index_to_extract=0 # index_to_extract=0
# Extract the element at the specified index # # Extract the element at the specified index
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]') fromJson = $(echo "$json" | jq -r '.tags | [.] | .[0]')
echo "fromJson=$fromJson" echo "fromJson=$fromJson"