From db9b974e47b0a2f8dab4c0fea9bcb9ff9bb4d8ad Mon Sep 17 00:00:00 2001 From: jlssmt <42897917+jlssmt@users.noreply.github.com> Date: Sun, 6 Apr 2025 11:32:20 +0200 Subject: [PATCH] set LABEL org.opencontainers.image.version --- Dockerfile-build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile-build b/Dockerfile-build index 4530ec47..457c63ff 100644 --- a/Dockerfile-build +++ b/Dockerfile-build @@ -44,6 +44,8 @@ RUN make VERSION=$VERSION COMMIT=$COMMIT cli-linux-server FROM alpine +ARG VERSION=dev + LABEL org.opencontainers.image.authors="philipp.heckel@gmail.com" LABEL org.opencontainers.image.url="https://ntfy.sh/" LABEL org.opencontainers.image.documentation="https://docs.ntfy.sh/" @@ -52,6 +54,7 @@ LABEL org.opencontainers.image.vendor="Philipp C. Heckel" LABEL org.opencontainers.image.licenses="Apache-2.0, GPL-2.0" LABEL org.opencontainers.image.title="ntfy" LABEL org.opencontainers.image.description="Send push notifications to your phone or desktop using PUT/POST" +LABEL org.opencontainers.image.version="$VERSION" COPY --from=builder /app/dist/ntfy_linux_server/ntfy /usr/bin/ntfy