aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-03-03 19:21:27 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-03-03 19:21:27 -0500
commit652b6046b3bd843e12804964b8a4e692485c08ba (patch)
tree62fc533022d2b4e53775c9af97820fc2b9520fca
parentUse cd instead of pushd (diff)
downloadjellyfin-packaging-652b6046b3bd843e12804964b8a4e692485c08ba.tar.gz
jellyfin-packaging-652b6046b3bd843e12804964b8a4e692485c08ba.tar.bz2
jellyfin-packaging-652b6046b3bd843e12804964b8a4e692485c08ba.zip
Avoid using amend for manifests
-rwxr-xr-xbuild.py24
1 files 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")
bgstack15