m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-17 17:43:37 -05:00

Support checking for version updates for images that aren't available locally

This commit is contained in:
Sergio
2024-11-16 13:05:46 +02:00
parent 4519c534a1
commit 88d346b480
3 changed files with 48 additions and 7 deletions

View File

@@ -150,7 +150,7 @@ pub async fn get_latest_tag(
};
match tag {
Some(t) => {
if t == base {
if t == base && image.digest_info.is_some() {
// Tags are equal so we'll compare digests
get_latest_digest(
&Image {