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 \