diun icon indicating copy to clipboard operation
diun copied to clipboard

Report all remote tags of image update

Open sebthom opened this issue 4 years ago • 8 comments

Currently the update notification only contains the digest of the updated image. It would be very helpful to also get all remote tags for that image.

For example if I am running a docker container based on a ":latest" image it is important to know if an update discovered by diun is a bug fix or a major release. In the first case I would simply pull and redeploy, in the second case I would check the change log for migration notes.

sebthom avatar Jun 28 '20 08:06 sebthom

Hi @sebthom,

Currently the update notification only contains the digest of the updated image. It would be very helpful to also get all remote tags for that image.

Basically you want to know all tags matching the digest of a specific tag?

crazy-max avatar Jul 11 '20 10:07 crazy-max

What I would like to have, is a diff between the tags of the current digest and the new digest.

E.g.: current digest has tags "latest", "1", "1.1", "1.1.4" new digest has tags "latest", "1", "1.1", "1.1.5"

Then I would like to see something like this in the email notification:

Tags: "latest", "1", "1.1", ~"1.1.4",~ "1.1.5"

Now I can see that it installing this image means a minor update from 1.1.4 to 1.1.5.

sebthom avatar Jul 14 '20 17:07 sebthom

@sebthom I'll think about an implementation. Keep you in touch.

crazy-max avatar Jul 16 '20 22:07 crazy-max

How should I do to monitor the tag of an container image? I don't undeerstand.

Thanks

TomMir avatar Sep 11 '20 15:09 TomMir

What I would like to have, is a diff between the tags of the current digest and the new digest.

E.g.: current digest has tags "latest", "1", "1.1", "1.1.4" new digest has tags "latest", "1", "1.1", "1.1.5"

Then I would like to see something like this in the email notification:

Tags: "latest", "1", "1.1", ~"1.1.4",~ "1.1.5"

Now I can see that it installing this image means a minor update from 1.1.4 to 1.1.5.

Hi, can you show me your solution? Mabe I need to solve the same problem.

Thanks

TomMir avatar Sep 14 '20 08:09 TomMir

I definately agree with this. When subscriping to something like the latest tag, it's really important to know whether I'm just bumping from diun:4.18 to diun:4.19, or if I'm updating to diun:5:0. This feature would be much appreciated. Is there any techical reason it's not implemented, or is it just a time issue? :).

Is there another way to solve it, since this seems like a pretty fundamental feature of a service like this? Is there something I've missed in my setup/workflow, which makes this feature redundant?

ebbeknudsen avatar Aug 13 '21 23:08 ebbeknudsen

Some of the images have org.opencontainers.image.version in their .Entry.Manifest.Labels map, even if you use latest. Is there any way to access manifest of installed images from Diun? That way it'd be possible to resolve the issue at least for some of the images (e.g., it looks like all linuxserver.io images have that tag).

kdrobnyh avatar Feb 15 '23 07:02 kdrobnyh

@crazy-max, is there a way to access manifest of installed images from Diun (to report the current version of images)?

kdrobnyh avatar Apr 29 '23 07:04 kdrobnyh