Skip to content

Commit

Permalink
fix: set to default image tag for offline installs
Browse files Browse the repository at this point in the history
  • Loading branch information
gerblesh committed Oct 15, 2023
1 parent 3b09831 commit 62a2fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/etc/ublue-update.d/system/00-system-update.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ def check_for_rebase():
print(status_out.stdout.decode("utf-8"))
return False, ""

image_tag = default_image_tag
try: # preserve image tag when rebasing unsigned
if current_image_ref[2] == default_image_ref[2]:
image_tag = current_image_ref[3]
except KeyError:
print("unable to get image tag from current deployment!")
image_tag = default_image_tag

return True, f"{default_image_ref[0]}:{default_image_ref[1]}:{default_image_ref[2]}:{image_tag}"

Expand Down

0 comments on commit 62a2fa9

Please sign in to comment.