From f3c9905a9f5acde6ddb8f0f82778b9663c244a07 Mon Sep 17 00:00:00 2001 From: Jyrki Gadinger Date: Mon, 13 Oct 2025 13:19:52 +0200 Subject: [PATCH] feat(push): always use latest released version Signed-off-by: Jyrki Gadinger --- docker/push/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/push/Dockerfile b/docker/push/Dockerfile index 4e3ce29d..3b7e7068 100644 --- a/docker/push/Dockerfile +++ b/docker/push/Dockerfile @@ -1,6 +1,10 @@ FROM alpine -RUN wget https://github.com/nextcloud/notify_push/releases/download/v1.1.0/notify_push-`uname -m`-unknown-linux-musl -O /notify_push && chmod +x /notify_push && /notify_push --version +RUN apk add curl jq \ + && latest_tag=$(curl -Ls https://api.github.com/repos/nextcloud/notify_push/releases/latest | jq -r '.tag_name') \ + && wget https://github.com/nextcloud/notify_push/releases/download/${latest_tag}/notify_push-`uname -m`-unknown-linux-musl -O /notify_push \ + && chmod +x /notify_push \ + && /notify_push --version EXPOSE 7867