From bd5b64c15536e1f2508a92ab53609561d013e637 Mon Sep 17 00:00:00 2001 From: thelamer Date: Sat, 15 Aug 2026 10:30:10 -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 de2cf45..11758a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,7 @@ RUN \ } > /etc/php85/conf.d/php-opcache.ini && \ if [ -z ${GRAV_RELEASE+x} ]; then \ GRAV_RELEASE=$(curl -sX GET "https://api.github.com/repos/getgrav/grav/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ echo "*** Installing Grav ***" && \ mkdir -p \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index b11db79..4a997c7 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -37,7 +37,7 @@ RUN \ } > /etc/php85/conf.d/php-opcache.ini && \ if [ -z ${GRAV_RELEASE+x} ]; then \ GRAV_RELEASE=$(curl -sX GET "https://api.github.com/repos/getgrav/grav/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ echo "*** Installing Grav ***" && \ mkdir -p \