From b3efeab03ba0dac679c8faa1f8cecc6ee9936e99 Mon Sep 17 00:00:00 2001 From: thelamer Date: Sat, 15 Aug 2026 11:08:43 -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 f76555581..8d7c25b0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ RUN \ /app/ombi && \ if [ -z ${OMBI_RELEASE+x} ]; then \ OMBI_RELEASE=$(curl -sX GET "https://api.github.com/repos/Ombi-app/Ombi/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ curl -o \ /tmp/ombi-src.tar.gz -L \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index a984e25e7..9f473cf21 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -22,7 +22,7 @@ RUN \ /app/ombi && \ if [ -z ${OMBI_RELEASE+x} ]; then \ OMBI_RELEASE=$(curl -sX GET "https://api.github.com/repos/Ombi-app/Ombi/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ curl -o \ /tmp/ombi-src.tar.gz -L \