Access to private images on Dockerhub doesn't work with Github app #30827
-
What would you like help with?I think I found a bug 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 problemI am running the following renovate configuration file called .renovaterc in my project. This is used for helm and docker image updates. All the helm parts are working as are public docker images. I host my application private images in Dockerhub. { This is erroring with "Datasource unauthorized" and "Failed to look up docker package redacted/keycloak" when I run a renovate scan. I have tried encrypting the password with this tool: Using the Github Organisation name and then tried both the Dockerhub password and created an access token using Dockerhub and both failed. Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Strange, I was able to fix it using: Please could the docs be made clearer that you need both hostType and matchHost when using private docker authentication? |
Beta Was this translation helpful? Give feedback.
-
If you encrypted it and then pasted the encrypted value straight in then it's wrong. It needs to be nested inside an "encrypted" config block. Better yet, use the app's secrets upload capability instead |
Beta Was this translation helpful? Give feedback.
If you encrypted it and then pasted the encrypted value straight in then it's wrong. It needs to be nested inside an "encrypted" config block. Better yet, use the app's secrets upload capability instead