From 6e6fc41a44e189b23b397570012fb8ad24c813b9 Mon Sep 17 00:00:00 2001 From: thelamer Date: Sat, 15 Aug 2026 10:46:53 -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 b9bef1b..f5ca288 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ RUN \ /heimdall && \ if [ -z ${HEIMDALL_RELEASE+x} ]; then \ HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ curl -o \ /tmp/heimdall.tar.gz -L \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 7f4af34..c0c9eaa 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -35,7 +35,7 @@ RUN \ /heimdall && \ if [ -z ${HEIMDALL_RELEASE+x} ]; then \ HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ curl -o \ /tmp/heimdall.tar.gz -L \