Renovate failed to look up the following dependencies: image@sha256 #38886
-
How are you running Renovate?Self-hosted Renovate If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.Gitlab - Renovate CLI v41.143.1 (CE 11.5.0-full) Please tell us more about your question or problemHI, I found it's related to how Renovate handles image TAGs. As far as I could tell, renovate can't handle it in a normal situation because the expected format is Am I right? There's a "workaround or config for this" Thanks in advance, Antonio Logs (if relevant)Logs |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In this case, Renovate won't be able to update these digests, as it won't know where to look. Without a tag to follow, Renovate can't determine what the correct new digest should be. Given an image may have different tags, As a workaround, I'd recommend tagging the images - likely with As an interesting aside, note that the tag is ignored when i.e. Docker interprets: FROM ghcr.io/renovatebot/base-image:10.67.5@sha256:d67e849707f38e11c8674a59d3fffef1ea6977757f3a65d9d1a3a198bdd160cf AS slim-baseIn this case, Docker will pull But it's a good hint to bots + humans that this is what it's intended to be (but can lead to possible confusion or attacks, if someone points it to a malicious digest. We could look at improving the debug logs to warn of this case, and recommend folks pin their digest to a tag? |
Beta Was this translation helpful? Give feedback.
-
|
Thank yo @jamietanna If there's a way to ignore this message, it would be great, but maybe it's not worth .
That will be nice. Thanks again. |
Beta Was this translation helpful? Give feedback.
In this case, Renovate won't be able to update these digests, as it won't know where to look.
Without a tag to follow, Renovate can't determine what the correct new digest should be.
Given an image may have different tags,
latest,stable, etc - taking "what's the latest pushed digest to this image, regardless of tag" is unlikely to be a good option.As a workaround, I'd recommend tagging the images - likely with
latest- so you can get updates, and then it also provides a hint to the humans that this is where it's coming from, too.As an interesting aside, note that the tag is ignored when i.e. Docker interprets:
FROM ghcr.io/reno…