Skip to content

Commit

Permalink
Check that image_dev exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-Ben committed Nov 16, 2023
1 parent 7e52b1c commit 56c6597
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ def build_and_push_image(
include_tags=args["include_tags"],
)

push_manifest(config, architectures, args["image_dev"])
if config.gh_run_id is not None and config.gh_run_id != "":
push_manifest(config, architectures, args["image_dev"], config.gh_run_id)
if args["image_dev"]:
push_manifest(config, architectures, args["image_dev"])
if config.gh_run_id is not None and config.gh_run_id != "":
push_manifest(config, architectures, args["image_dev"], config.gh_run_id)

if release:
push_manifest(config, architectures, args["image"], args["release_version"])
Expand Down

0 comments on commit 56c6597

Please sign in to comment.