From fb3889209afde334c9159caa17abe8d8d45c21eb Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 3 Mar 2024 17:05:25 -0500 Subject: Push the "unstable" tag to Docker as well --- build.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'build.py') diff --git a/build.py b/build.py index 6a53479..da5f4a2 100755 --- a/build.py +++ b/build.py @@ -289,9 +289,11 @@ def build_docker(jellyfin_version, build_type, _build_arch, _build_version): # Determine if this is a "latest"-type image (v in jellyfin_version) or not if "v" in jellyfin_version: is_latest = True + is_unstable = False version_suffix = True else: is_latest = False + is unstable = True version_suffix = False jellyfin_version = jellyfin_version.replace("v", "") @@ -355,6 +357,12 @@ def build_docker(jellyfin_version, build_type, _build_arch, _build_version): f"docker manifest create --amend {configurations['docker']['imagename']}:latest {' '.join(images)}" ) manifests.append(f"{configurations['docker']['imagename']}:latest") + elif is_unstable: + log(">>> Building unstable manifest...") + os.system( + f"docker manifest create --amend {configurations['docker']['imagename']}:unstable {' '.join(images)}" + ) + manifests.append(f"{configurations['docker']['imagename']}:unstable") # Push the images and manifests to DockerHub (we are already logged in from GH Actions) for image in images: -- cgit