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

Update API and improve CLI output

This commit is contained in:
Sergio
2025-02-14 18:28:18 +02:00
parent 2262df0355
commit 6ae95bf83b
6 changed files with 163 additions and 31 deletions

View File

@@ -47,7 +47,7 @@ The data returned from the API or from the CLI is in JSON and looks like this:
"remote_digest": "sha256:170f1974d8fc8ca245bcfae5590bc326de347b19719972bf122400fb13dfa42c", // Latest digest available in the registry
// If `type` is "version":
"version_update_type": "major", // Loosely corresponds to SemVer versioning. Can also be `minor` or `patch`.
"new_version": "v3.3.3", // The tag of the latest image.
"new_tag": "v3.3.3", // The tag of the latest image.
},
"error": null, // If checking for the image fails, will be a string with an error message.
},