From c50a1a91d2e1582b6621dc04bd66ac29435b660b Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 1 Aug 2023 10:05:20 +0700 Subject: [PATCH] add jellyfin to builder --- tubearchivist/web/src/webhook_base.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tubearchivist/web/src/webhook_base.py b/tubearchivist/web/src/webhook_base.py index 7dcbf25..c89f8be 100644 --- a/tubearchivist/web/src/webhook_base.py +++ b/tubearchivist/web/src/webhook_base.py @@ -45,7 +45,19 @@ class WebhookBase: "rebuild": [ ["docker", "compose", "-f", "../docker/docker-compose.yml", "up", "-d", "--build", "docs"] ] - } + }, + "jellyfin": { + "gh_user": "tubearchivist", + "gh_repo": "jellyfin", + "docker_user": "bbilly1", + "docker_repo": "tubearchivist-jf", + "build_release": [ + "build", "--platform", "linux/amd64,linux/arm64", + "-t", "bbilly1/tubearchivist-jf", + "-t", "bbilly1/tubearchivist-jf:$VERSION", "--push" + ], + "discord_release_hook": environ.get("GITHUB_RELEASE_HOOK_URL"), + }, } ROADMAP_HOOK_URL = environ.get("ROADMAP_HOOK_URL") GH_HOOK_SECRET = environ.get("GH_HOOK_SECRET")