[bitnami/containers] Revisit the script to retrieve additional packages
Follow up #32704 Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
parent
56b51d2817
commit
7c5ee1dc4a
|
|
@ -121,7 +121,9 @@ jobs:
|
|||
# Iterating over the external components to get the involved elements
|
||||
while read -r component_id; do
|
||||
if [[ -n "$component_id" ]]; then
|
||||
echo "Component ${component_id}"
|
||||
component_version_full=$(jq -cr '.'"${component_id}"'.version' "$components_json_file")
|
||||
echo "Component version: ${component_version_full}"
|
||||
if [[ "$component_version_full" =~ $COMPONENT_VERSION_REGEX ]] && [[ "${#BASH_REMATCH[@]}" -ge 3 ]]; then
|
||||
component_version=${BASH_REMATCH[1]}
|
||||
component_distro=$(jq -cr '.'"${component_id}"'.distro' "$components_json_file")
|
||||
|
|
|
|||
Loading…
Reference in New Issue