Get tag from public registry instead of private proxy #33126
Replies: 2 comments
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
-
I have solved the problem by using |
Beta Was this translation helpful? Give feedback.
-
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 39.69.2
Please tell us more about your question or problem
I understand that Harbor proxy registry does not work with Renovate, therefore I want to replace my private registry to use public to get the latest tag and update my Dockerfile.
Dockerfile
Current renovate.json
The following configuration works if my Dockerfile is referring to public Docker hub, but for internal private
registry.harbor.io
, I couldn't make it work.I have also tried the following
renovate.json
, while changingdocker.io
,index.docker.io
....etc but still no luckI have found multiple discussion thread that saying this could be done by replacing the private registry to use public registry for lookup but I couldn't figure out how to configure the
renovate.json
. Not sure to useregexManager
orcustomManager
and how would the configuration looks like.I would like to replace
https://registry.harbor.io/docker/<repo>:<tag>
tohttps://docker.io/<repo>:<tag>
during the tag discovery. Some help will be very much appreciated. Thank youLogs (if relevant)
The logs found empty tag as expected because of Harbor registry
Beta Was this translation helpful? Give feedback.
All reactions