diff --git a/Dockerfile b/Dockerfile index f7655558..8d7c25b0 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 a984e25e..9f473cf2 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 \