bug(quadlets): digests do not work when combined with version numbers #40092
-
How are you running Renovate?Self-hosted Renovate Which platform you running Renovate on?Forgejo Which version of Renovate are you using?42.64.1 Please tell us more about your question or problemI recently tried pinning all my Podman (quadlet) images with digests, as I had Renovate set up to manage the updates. It however, does not work like expected: I have a repro file called Where I would expect it to update from [Container]
-Image=docker.io/library/alpine:3.23.0@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375
+Image=docker.io/library/alpine:3.23.2@sha256:865b95f46d98cf867a156fe4a135ad3fe50d2056aa3f25ed31662dff6da4eb62( Instead it errors out (see the logs below) where it seems to expect the new digest (for My Changes work as expected when just using a tag. Logs (if relevant)Logs |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
I'm hitting the same bug with all my quadlets on 42.80.2. Containerfile works: FROM code.forgejo.org/forgejo/runner:12.5.0@sha256:d1fa548c336febeb314afb06da8564e06b66b9514ccd06177cce997830233f31forgejo-runner.container fails: forgejo-runner used as an example, all quadlet digest updates fail to create a pr. renovate.json {
"extends": ["config:best-practices"],
"osvVulnerabilityAlerts": true
}LogsThe correct old and new digests are found, but does this snippet from the full log above, suggest the replace logic is reversed? ladybug@laptop:~/Documents/renovate-config> skopeo inspect docker://code.forgejo.org/forgejo/runner:12.5.0 | head | grep Digest
"Digest": "sha256:d1fa548c336febeb314afb06da8564e06b66b9514ccd06177cce997830233f31",
ladybug@laptop:~/Documents/renovate-config> skopeo inspect docker://code.forgejo.org/forgejo/runner:12.5.2 | head | grep Digest
"Digest": "sha256:6617b2c22b3369b18bc2017f97c28026e87e8a5217058e9c08d1ae4091b3a357",
|
Beta Was this translation helpful? Give feedback.
-
|
I have confirmed that v43.45.1 does seem resolve the issue at first glance. Updating from tag # will work
-Image=docker.io/library/alpine:3.22@sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2
+Image=docker.io/library/alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
-Image=docker.io/library/alpine:3.23.0@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375
+Image=docker.io/library/alpine:3.23.3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
# will not work
-Image=docker.io/library/alpine:3@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375
+Image=docker.io/library/alpine:3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
-Image=docker.io/library/alpine:3.23@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375
+Image=docker.io/library/alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
-Image=docker.io/library/alpine:latest@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375
+Image=docker.io/library/alpine:latest@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659Logs - latest -> latestLogs - 3.23 -> 3.23 |
Beta Was this translation helpful? Give feedback.
-
|
Issue Created: #44500 PR Welcome |
Beta Was this translation helpful? Give feedback.
Issue Created: #44500
PR Welcome