diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-03-03 19:21:27 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-03-03 19:21:27 -0500 |
commit | 652b6046b3bd843e12804964b8a4e692485c08ba (patch) | |
tree | 62fc533022d2b4e53775c9af97820fc2b9520fca /build.py | |
parent | Use cd instead of pushd (diff) | |
download | jellyfin-packaging-652b6046b3bd843e12804964b8a4e692485c08ba.tar.gz jellyfin-packaging-652b6046b3bd843e12804964b8a4e692485c08ba.tar.bz2 jellyfin-packaging-652b6046b3bd843e12804964b8a4e692485c08ba.zip |
Avoid using amend for manifests
Diffstat (limited to 'build.py')
-rwxr-xr-x | build.py | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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") |