From 94d4e1a1bf671206499be46135f497c2b9613003 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 2 Dec 2022 06:01:27 +0100 Subject: [PATCH] Update daily_README.yaml --- .github/workflows/daily_README.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/daily_README.yaml b/.github/workflows/daily_README.yaml index 996403305..579269760 100644 --- a/.github/workflows/daily_README.yaml +++ b/.github/workflows/daily_README.yaml @@ -86,7 +86,13 @@ jobs: ARCH=amd64 && SLUG=$(jq -r '.image' "$f/config.json" | awk -F 'alexbelgium/|-{arch' '{print $2}') && \ DOWNLOADS="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && \ - echo "$DOWNLOADS users" + echo "$DOWNLOADS amd64 users" + ARCH=armv7 + DOWNLOADS="$(($DOWNLOADS + $(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')))" && \ + echo "$DOWNLOADS amd64 users" + ARCH=aarch64 + DOWNLOADS="$(($DOWNLOADS + $(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')))" && \ + echo "$DOWNLOADS aarch64 users" # Write infos sed -i "$ADDONSLINE"'{G;}' README2.md