How to update golang in multiple files (go.mod, Dockerfile, etc)? #28402
Unanswered
nitrocode
asked this question in
Request Help
Replies: 1 comment 6 replies
-
An update for that Dockerfile is pending. If you look in your Dependency Dashboard you can see These are not automatically grouped together because one has depName=go and the other has depName=golang, so they get different branch names. If you add a package rule with matchPackageNames=["go", "golang"] plus groupName=go then you should see them in the same PR |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like help with?
I would like help with my configuration
How are you running Renovate?
Mend Renovate hosted app on github.com
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
Here's an example pr of upgrading golang from v1.22.1 to v1.22.2.
runatlantis/atlantis#4405
It only updates go.mod and errors out because there is a mismatch between the golang version in go.mod vs the Dockerfile
https://github.com/runatlantis/atlantis/blob/a357b377ff42869b7756efaef57c179a5d9762a2/Dockerfile#L5
https://github.com/runatlantis/atlantis/blob/a357b377ff42869b7756efaef57c179a5d9762a2/go.mod#L3
https://github.com/runatlantis/atlantis/blob/a357b377ff42869b7756efaef57c179a5d9762a2/testing/Dockerfile#L1
Logs (if relevant)
Beta Was this translation helpful? Give feedback.
All reactions