Podman's systemd integration does that out of the box. See: https://feldspaten.org/2022/07/09/On-the-joy-of-podman-and-auto-updates/ (and even easier with Quadlet)
homelab
Is this the Quadlet you mentioned? The repo states it was merged into Podman. It seems pretty similar to the podman-auto-update from the article.
I wasn't aware of this functionality, but I don't think it provides the functionality I'm looking for. I might have missed it in the documentation, but it doesn't seem to look for new version tag updates.
For example, Forgejo's image registry on Codeberg doesn't have tags like latest
, stable
, etc. and instead just has semantic versions like 1.19.1
, 1.19.2
, 1.19.3
, 1.20.1
, etc. From what I'm seeing, the images wouldn't auto update unless the tags that omit the bugfix version like 1.19
or 1.20
are used. However, Podman still wouldn't update across those minor version updates.
Yes it is integrated now.
Indeed it is nicer if the container repo provides major version number tags like 1.19, but I would not recommend updating across major version numbers automatically (or use the :latest tag with auto-updates) as the very definition of these are to signify breaking changes, so autoupdating will not work anyway in most cases.