From 0941b441e2994b4d91a6a361bdcfde3f9aa22097 Mon Sep 17 00:00:00 2001 From: thelamer Date: Sat, 15 Aug 2026 11:09:15 -0400 Subject: [PATCH] update github api parsing to use jq --- Dockerfile | 2 +- Dockerfile.aarch64 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f121de..197d935 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ RUN \ echo "**** download piwigo ****" && \ if [ -z ${PIWIGO_RELEASE+x} ]; then \ PIWIGO_RELEASE=$(curl -sX GET "https://api.github.com/repos/Piwigo/Piwigo/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ mkdir -p /app/www/public && \ curl -o \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 80e0cf9..2e601f2 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -43,7 +43,7 @@ RUN \ echo "**** download piwigo ****" && \ if [ -z ${PIWIGO_RELEASE+x} ]; then \ PIWIGO_RELEASE=$(curl -sX GET "https://api.github.com/repos/Piwigo/Piwigo/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ mkdir -p /app/www/public && \ curl -o \