Skip to content

Conversation

@aauren
Copy link

@aauren aauren commented Jul 14, 2024

What This PR Does

It adds the opencontainers image version to the update log if it exists on the container to give a better description of what the upgrade actually is.

As the issue that I linked below points out, org.opencontainers.image.version is a piloted standard to bring more consistency to container labels. All containers built via GitHub actions add them. Additionally, all containers from linuxserver contain them as well.

Related Issues

This is partially related to #1848

Although in that issue, they were asking that this information be added to watchtower's templating function. I don't actually use the templating function, so I didn't put it there, but I would imagine that making container labels available via the template functions would be a much larger PR.

Testing

I have been running with this setup for several days and it has worked great for me.

Example Output

Found new [lscr.io/linuxserver/nzbhydra2:latest](http://lscr.io/linuxserver/nzbhydra2:latest) image (fbeb6b7869e3 - v7.3.0-ls16)
Stopping /nzbhydra2 (387cd3eb4f70 - v7.2.3-ls15) with SIGTERM
Creating /nzbhydra2
Removing image ba50bb7dfb51

renovate bot and others added 30 commits July 8, 2024 06:33
…eleaser-action-digest

chore(deps): update goreleaser/goreleaser-action digest to b508e2e
beatkind and others added 28 commits March 29, 2025 13:16
@aauren aauren force-pushed the add_opencontainer_version_to_log branch from 4a1e6b2 to d60d5bb Compare September 8, 2025 23:24
@aauren aauren requested a review from piksel as a code owner September 8, 2025 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants