Skip to content

Commit

Permalink
Improve output messages for Docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaboniface committed Jun 6, 2024
1 parent a7c2e52 commit 35a5f70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,9 @@ def build_docker(
Build Docker images for one or all architectures and combining manifests
"""
log("> Building Docker images...")
log("")

if build_arch:
log(f"NOTE: Building only for arch {build_arch}")
log("")

# We build all architectures simultaneously to push a single tag, so no conditional checks
architectures = configurations["docker"]["archmaps"].keys()
Expand All @@ -294,6 +292,9 @@ def build_docker(

jellyfin_version = jellyfin_version.replace("v", "")

log(f"NOTE: Build type is {'stable' if is_stable else 'unstable'} for version {jellyfin_version}")
log("")

# Set today's date in a convenient format for use as an image suffix
date = datetime.now().strftime("%Y%m%d-%H%M%S")

Expand Down

0 comments on commit 35a5f70

Please sign in to comment.