Closed schuch closed 5 years ago
Can you try it as a package rule?
{
"assignees": [
"Gent"
],
"packageRules": [{
"managers": ["docker-compose"],
"updateTypes": ["digest"],
"enabled": false
}]
}
Thanks for the quick response.
I tried the package rule but the MR is still open, even with marked as retry
it got not closed.
I closed it manually and will report again, if a another MR is raised.
If you are able to reproduce the problem in a simple public repo, I’d be happy to keep looking into it right away.
OK, will provide an example
I created a simple demo repo: https://github.com/schuch/renovate-demo
@rarkins can u plz unstale this issue?
@schuch I worked out what the problem is. This particular PR you're trying to avoid is a "pin" updateType, not "digest". Use the below rule to disable both types at once (although you won't see digest updates for docker-compose unless you added a digest to begin with):
"packageRules": [{
"managers": ["docker-compose"],
"updateTypes": ["pin", "digest"],
"enabled": false
}],
Thank you! ❤️
Which Renovate are you using? CLI, App, or Pro
CLI
Which platform are you using? GitHub, GitLab, Bitbucket Azure DevOps
GitLab
What is your question?
How can i disable digest pinning for docker-compose files but keeping the pinning enabled for docker files?
I tried
in
renovate.json
, but renovatebot keeps opening MRs for digest pins.Config took from here: https://renovatebot.com/docs/docker/#configuringdisabling
Our CLI command is
Does the
--pin-digests true
overwrite the configuration for the docker-compose manager specified the renovate.json in the repository?Have you checked the logs? Don't forget to include them if relevant
The logs indicate, that the
renovate.json
is found: