mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 01:18:19 +01:00
Update daily_README.yaml
This commit is contained in:
9
.github/workflows/daily_README.yaml
vendored
9
.github/workflows/daily_README.yaml
vendored
@@ -85,13 +85,16 @@ jobs:
|
||||
fi
|
||||
|
||||
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}')" && \
|
||||
COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && \
|
||||
DOWNLOADS=$(( $DOWNLOADS + $COUNT))
|
||||
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}')))" && \
|
||||
COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && \
|
||||
DOWNLOADS=$(( $DOWNLOADS + $COUNT))
|
||||
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}')))" && \
|
||||
COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && \
|
||||
DOWNLOADS=$(( $DOWNLOADS + $COUNT))
|
||||
echo "$DOWNLOADS aarch64 users"
|
||||
|
||||
# Write infos
|
||||
|
||||
Reference in New Issue
Block a user