Skip to content

Commit

Permalink
DEV-634: allow setting an arbitrary image tag via set-image
Browse files Browse the repository at this point in the history
  • Loading branch information
uptickmetachu committed Mar 21, 2024
1 parent 197e769 commit 317933c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitops/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .utils.async_runner import run_tasks_async_with_progress
from .utils.cli import colourise, progress, success, success_negative, warning
from .utils.exceptions import AppOperationAborted
from .utils.images import colour_image, get_image, get_latest_image
from .utils.images import colour_image, get_latest_image
from .utils.kube import run_job
from .utils.tags import colour_tag, sort_tags

Expand Down Expand Up @@ -83,7 +83,7 @@ def bump( # noqa: C901
new_image_prefix = prefix
new_image_tag = get_latest_image(app.image_repository_name, new_image_prefix)
else:
new_image_tag = get_image(image_tag)
new_image_tag = image_tag

if not new_image_tag:
if image_tag is None:
Expand Down

0 comments on commit 317933c

Please sign in to comment.