Skip to content

Commit db9b974

Browse files
committed
set LABEL org.opencontainers.image.version
1 parent 630f295 commit db9b974

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile-build

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ RUN make VERSION=$VERSION COMMIT=$COMMIT cli-linux-server
4444

4545
FROM alpine
4646

47+
ARG VERSION=dev
48+
4749
LABEL org.opencontainers.image.authors="[email protected]"
4850
LABEL org.opencontainers.image.url="https://ntfy.sh/"
4951
LABEL org.opencontainers.image.documentation="https://docs.ntfy.sh/"
@@ -52,6 +54,7 @@ LABEL org.opencontainers.image.vendor="Philipp C. Heckel"
5254
LABEL org.opencontainers.image.licenses="Apache-2.0, GPL-2.0"
5355
LABEL org.opencontainers.image.title="ntfy"
5456
LABEL org.opencontainers.image.description="Send push notifications to your phone or desktop using PUT/POST"
57+
LABEL org.opencontainers.image.version="$VERSION"
5558

5659
COPY --from=builder /app/dist/ntfy_linux_server/ntfy /usr/bin/ntfy
5760

0 commit comments

Comments
 (0)