[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:
Fran Mulero
2023-05-09 09:21:48 +02:00
committed by GitHub
parent 4b8d20bd46
commit 6f22c9ba84
+2 -1
View File
@@ -130,6 +130,7 @@ jobs:
component_arch=$arch
# Added "true" to avoid errors if compilation_recipe doesn't exists
compilation_recipe=$(s3cmd get "s3://${AWS_S3_BUCKET}/${component_id}/${component_version}/${component_distro}/${component_arch}/compilation-recipe.json" - 2>/dev/null || true)
echo "Compilation recipe: ${compilation_recipe}"
# now getting each component to be reported
while read -r json_package; do
package_id="$(echo "$json_package" | jq -r '.id' )"
@@ -170,4 +171,4 @@ jobs:
if: ${{ steps.get-publish-metadata.outputs.result == 'ok' }}
with:
name: packages.json
path: ~/work/containers/**/osspi-packages*.json
path: ~/work/containers/**/osspi-packages*.json