From 652b6046b3bd843e12804964b8a4e692485c08ba Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 3 Mar 2024 19:21:27 -0500 Subject: Avoid using amend for manifests --- build.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/build.py b/build.py index 0dcce61..b646b18 100755 --- a/build.py +++ b/build.py @@ -351,13 +351,13 @@ def build_docker(jellyfin_version, build_type, _build_arch, _build_version): if version_suffix: log(">>> Building dated version manifest...") log( - f">>>> docker manifest create --amend {configurations['docker']['imagename']}:{jellyfin_version}.{date} {' '.join(images)}" + f">>>> docker manifest create {configurations['docker']['imagename']}:{jellyfin_version}.{date} {' '.join(images)}" ) os.system( - f"docker manifest create --amend docker.io/{configurations['docker']['imagename']}:{jellyfin_version}.{date} {' '.join(images)}" + f"docker manifest create docker.io/{configurations['docker']['imagename']}:{jellyfin_version}.{date} {' '.join(images)}" ) os.system( - f"docker manifest create --amend ghcr.io/{configurations['docker']['imagename']}:{jellyfin_version}.{date} {' '.join(images_ghcr)}" + f"docker manifest create ghcr.io/{configurations['docker']['imagename']}:{jellyfin_version}.{date} {' '.join(images_ghcr)}" ) manifests.append( f"{configurations['docker']['imagename']}:{jellyfin_version}.{date}" @@ -365,38 +365,38 @@ def build_docker(jellyfin_version, build_type, _build_arch, _build_version): log(">>> Building version manifest...") log( - f">>>> docker manifest create --amend {configurations['docker']['imagename']}:{jellyfin_version} {' '.join(images)}" + f">>>> docker manifest create {configurations['docker']['imagename']}:{jellyfin_version} {' '.join(images)}" ) os.system( - f"docker manifest create --amend docker.io/{configurations['docker']['imagename']}:{jellyfin_version} {' '.join(images)}" + f"docker manifest create docker.io/{configurations['docker']['imagename']}:{jellyfin_version} {' '.join(images)}" ) os.system( - f"docker manifest create --amend ghcr.io/{configurations['docker']['imagename']}:{jellyfin_version} {' '.join(images_ghcr)}" + f"docker manifest create ghcr.io/{configurations['docker']['imagename']}:{jellyfin_version} {' '.join(images_ghcr)}" ) manifests.append(f"{configurations['docker']['imagename']}:{jellyfin_version}") if is_latest: log(">>> Building latest manifest...") log( - f">>>> docker manifest create --amend {configurations['docker']['imagename']}:latest {' '.join(images)}" + f">>>> docker manifest create {configurations['docker']['imagename']}:latest {' '.join(images)}" ) os.system( - f"docker manifest create --amend docker.io/{configurations['docker']['imagename']}:latest {' '.join(images)}" + f"docker manifest create docker.io/{configurations['docker']['imagename']}:latest {' '.join(images)}" ) os.system( - f"docker manifest create --amend ghcr.io/{configurations['docker']['imagename']}:latest {' '.join(images_ghcr)}" + f"docker manifest create ghcr.io/{configurations['docker']['imagename']}:latest {' '.join(images_ghcr)}" ) manifests.append(f"{configurations['docker']['imagename']}:latest") elif is_unstable: log(">>> Building unstable manifest...") log( - f">>>> docker manifest create --amend {configurations['docker']['imagename']}:unstable {' '.join(images)}" + f">>>> docker manifest create {configurations['docker']['imagename']}:unstable {' '.join(images)}" ) os.system( - f"docker manifest create --amend docker.io/{configurations['docker']['imagename']}:unstable {' '.join(images)}" + f"docker manifest create docker.io/{configurations['docker']['imagename']}:unstable {' '.join(images)}" ) os.system( - f"docker manifest create --amend ghcr.io/{configurations['docker']['imagename']}:unstable {' '.join(images_ghcr)}" + f"docker manifest create ghcr.io/{configurations['docker']['imagename']}:unstable {' '.join(images_ghcr)}" ) manifests.append(f"{configurations['docker']['imagename']}:unstable") -- cgit