Skip to content

Commit 800c3cf

Browse files
committed
metadata: add upstream labels for version detection
1 parent a038768 commit 800c3cf

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

Containerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# --------------------------------------------------------------------------
66

77
ARG BASE_VERSION=15
8+
ARG UPSTREAM_URL="https://api.github.com/repos/Dispatcharr/Dispatcharr/releases/latest"
9+
ARG UPSTREAM_JQ=".tag_name"
810

911
# ── Stage 1: Frontend ──────────────────────────────────────────────────────────
1012
FROM ghcr.io/daemonless/base:${BASE_VERSION} AS frontend-builder
@@ -93,6 +95,8 @@ LABEL org.opencontainers.image.title="Dispatcharr" \
9395
io.daemonless.category="Media Management" \
9496
io.daemonless.port="9191" \
9597
io.daemonless.arch="${FREEBSD_ARCH}" \
98+
io.daemonless.upstream-url="${UPSTREAM_URL}" \
99+
io.daemonless.upstream-jq="${UPSTREAM_JQ}" \
96100
io.daemonless.packages="${PACKAGES}" \
97101
io.daemonless.wip="true"
98102

Containerfile.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
ARG BASE_VERSION=15
2+
ARG UPSTREAM_URL="https://api.github.com/repos/Dispatcharr/Dispatcharr/releases/latest"
3+
ARG UPSTREAM_JQ=".tag_name"
24

35
# ── Stage 1: Frontend ──────────────────────────────────────────────────────────
46
FROM ghcr.io/daemonless/base:${BASE_VERSION} AS frontend-builder
@@ -87,6 +89,8 @@ LABEL org.opencontainers.image.title="Dispatcharr" \
8789
io.daemonless.category="Media Management" \
8890
io.daemonless.port="9191" \
8991
io.daemonless.arch="${FREEBSD_ARCH}" \
92+
io.daemonless.upstream-url="${UPSTREAM_URL}" \
93+
io.daemonless.upstream-jq="${UPSTREAM_JQ}" \
9094
io.daemonless.packages="${PACKAGES}" \
9195
io.daemonless.wip="true"
9296

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Source: dbuild templates
77

88
[![Build Status](https://img.shields.io/github/actions/workflow/status/daemonless/dispatcharr/build.yaml?style=flat-square&label=Build&color=green)](https://github.com/daemonless/dispatcharr/actions)
99
[![Last Commit](https://img.shields.io/github/last-commit/daemonless/dispatcharr?style=flat-square&label=Last+Commit&color=blue)](https://github.com/daemonless/dispatcharr/commits)
10+
[![sysvipc Required](https://img.shields.io/badge/sysvipc-required-orange?style=flat-square&logo=freebsd&logoColor=white)](https://daemonless.io/guides/ocijail-patch/)
1011

1112
Dispatcharr — stream dispatching and channel management.
1213

13-
1414
| | |
1515
|---|---|
1616
| **Port** | 9191 |

0 commit comments

Comments
 (0)