Renovate doesn't update docker-compose with yaml anchors anymore #32918
Replies: 1 comment 4 replies
-
We experienced a similar issue with Helmfiles when upgrading Renovate from 37.440.7 to 38.142.1. The new YAML parsing library seems to by default use YAML 1.2 specification which dropped merge keys Not sure if this would work for Docker compose files too, but adding this to the top of the file fixed it for us in %YAML 1.1
--- See also https://ktomk.github.io/writing/yaml-anchor-alias-and-merge-key.html for some more context on YAML 1.1 vs 1.2. |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
A Mend.io-hosted app
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
No response
Please tell us more about your question or problem
In the past Renovate had no problems when a Docker compose file had yaml anchors. Now it doesn't extract the image anymore:
docker compose
can use and parse this docker-compose file. You can see that docker includes theimage
in both services:Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions