aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-03-03 01:29:37 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-03-03 01:29:37 -0500
commit9e857da959a2a5998a799b651ac26d57f4e61f09 (patch)
tree46f101936024c1ba268f15ddc4d79f55b78d515e
parentReenable Ubuntu 24.04 noble (diff)
downloadjellyfin-packaging-9e857da959a2a5998a799b651ac26d57f4e61f09.tar.gz
jellyfin-packaging-9e857da959a2a5998a799b651ac26d57f4e61f09.tar.bz2
jellyfin-packaging-9e857da959a2a5998a799b651ac26d57f4e61f09.zip
Add logging for image and manifest pushes
-rwxr-xr-xbuild.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.py b/build.py
index b272905..ebcda82 100755
--- a/build.py
+++ b/build.py
@@ -355,14 +355,18 @@ def build_docker(jellyfin_version, build_type, _build_arch, _build_version):
# Push the images and manifests to DockerHub (we are already logged in from GH Actions)
for image in images:
+ print(f">>> Pushing image {image} to DockerHub")
os.system(f"docker push {image}")
for manifest in manifests:
+ print(f">>> Pushing manifest {manifest} to DockerHub")
os.system(f"docker manifest push --purge {manifest}")
# Push the images and manifests to GHCR (we are already logged in from GH Actions)
for image in images:
+ print(f">>> Pushing image {image} to GHCR")
os.system(f"docker push ghcr.io/{image}")
for manifest in manifests:
+ print(f">>> Pushing manifest {manifest} to GHCR")
os.system(f"docker manifest push --purge ghcr.io/{manifest}")
bgstack15