diff --git a/scripts/scheduler/entrypoint.sh b/scripts/scheduler/entrypoint.sh index 09d26a9..f1b1de2 100644 --- a/scripts/scheduler/entrypoint.sh +++ b/scripts/scheduler/entrypoint.sh @@ -809,12 +809,13 @@ execute_task() { for APP in $APPS; do APP_NAME=$(echo "$APP" | jq -r '.name') APP_VERSION=$(echo "$APP" | jq -r '.version') + APP_ICON=$(echo "$APP" | jq -r '.icon') if [ "$DEPLOYMENTS" != "" ]; then SEP="," else SEP="" fi - DEPLOYMENTS=$DEPLOYMENTS$SEP'"'$APP_NAME'": "'$APP_VERSION'"' + DEPLOYMENTS=$DEPLOYMENTS$SEP'"'$APP_NAME'": {"version": "'$APP_VERSION'", "icon": "'$APP_ICON'"}' done done if [ "$DEPLOYMENTS" == "" ]; then