diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-03-18 12:15:07 -0400 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-03-18 12:15:07 -0400 |
commit | 5295c46936ef7b883c38a839328441ca6be088d8 (patch) | |
tree | 31a4db9518cb531f7b746c0e5e4c7363521856c1 | |
parent | Switch build.py to argparse (diff) | |
download | jellyfin-packaging-5295c46936ef7b883c38a839328441ca6be088d8.tar.gz jellyfin-packaging-5295c46936ef7b883c38a839328441ca6be088d8.tar.bz2 jellyfin-packaging-5295c46936ef7b883c38a839328441ca6be088d8.zip |
Avoid ghcr.io tag if no_push
-rwxr-xr-x | build.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -354,8 +354,9 @@ def build_docker( ) images_hub.append(imagename) - os.system(f"docker image tag {imagename} ghcr.io/{imagename}") - images_ghcr.append(f"ghcr.io/{imagename}") + if not no_push: + os.system(f"docker image tag {imagename} ghcr.io/{imagename}") + images_ghcr.append(f"ghcr.io/{imagename}") log("") |