aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-03-03 02:09:06 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-03-03 02:09:06 -0500
commit64fa0d7c3f1b9933300dff2dbfc3337ffeb3e79e (patch)
tree89f5c0776c0ceb1f6e578732996b4bf5771c9cf4
parentEnsure archives have an inner folder (diff)
downloadjellyfin-packaging-64fa0d7c3f1b9933300dff2dbfc3337ffeb3e79e.tar.gz
jellyfin-packaging-64fa0d7c3f1b9933300dff2dbfc3337ffeb3e79e.tar.bz2
jellyfin-packaging-64fa0d7c3f1b9933300dff2dbfc3337ffeb3e79e.zip
Redirect stderr to stdout for docker cmds
-rwxr-xr-xbuild.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.py b/build.py
index ebcda82..3f2da88 100755
--- a/build.py
+++ b/build.py
@@ -356,18 +356,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}")
+ os.system(f"docker push {image} 2>&1")
for manifest in manifests:
print(f">>> Pushing manifest {manifest} to DockerHub")
- os.system(f"docker manifest push --purge {manifest}")
+ os.system(f"docker manifest push --purge {manifest} 2>&1")
# 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}")
+ os.system(f"docker push ghcr.io/{image} 2>&1")
for manifest in manifests:
print(f">>> Pushing manifest {manifest} to GHCR")
- os.system(f"docker manifest push --purge ghcr.io/{manifest}")
+ os.system(f"docker manifest push --purge ghcr.io/{manifest} 2>&1")
def usage():
bgstack15