[Docker] Self-Hosted quay enterprise support #13709
Replies: 6 comments 15 replies
-
It looks like your credentials are not working as expected. We are using the same calls the docker cli would make. So please validate the credentials with the docker cli. You can also try a |
Beta Was this translation helpful? Give feedback.
-
With exactly the same credentials in my
|
Beta Was this translation helpful? Give feedback.
-
Now with trace (and without removed host rules) I'll get these lines:
Not sure why the auth is disabled, since I've added a host-rule to state that for that host username and password are given. |
Beta Was this translation helpful? Give feedback.
-
Okay, I think the auth is removed intentionally: renovate/lib/datasource/docker/common.ts Lines 65 to 68 in 3b65140 But that leads to my problem I guess. |
Beta Was this translation helpful? Give feedback.
-
Forget my answer. I'll dig a bit deeper. That line is just checking if auth is required. |
Beta Was this translation helpful? Give feedback.
-
So, after some more debugging we are ending here: renovate/lib/datasource/docker/common.ts Lines 170 to 177 in 3b65140 The auth-check without auth above does throw an error. This in fact disables support for authenticated docker access, right? |
Beta Was this translation helpful? Give feedback.
-
Hej there,
we would like to enable renovate to update our
Dockerfiles
. We have a self hosted quay enterprise instance.I've already tried to add
hostRules
like this:Both are not working and only showing unauthorized access.
The token configuration just prints these lines from debug log:
The username/password variant tries to make a request against:
According to the quay docs, quay enterprise does only support v1 APIs:
https://docs.quay.io/api/
There is special handling for public quay, but that excludes enterprise servers.
I think it might work if the check for quay is not only looking for
quay.io
.renovate/lib/datasource/docker/index.ts
Lines 106 to 114 in a133bb9
Would this be worth an issue and a PR?
If so, what is the starting point to extend the
isQuay
check based on host rules?Beta Was this translation helpful? Give feedback.
All reactions