-
-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SHUFFLE_BASE_IMAGE_REPOSITORY : Not used ? #1369
Comments
Thanks @seb2020! It seems like you may be right. It is however for @0x0elliot - can you have a look at this when getting into Orborus/Worker optimisations? |
Hi, So, what's the correct variable to use ? Because variables below are not the same endpoint ? SHUFFLE_BASE_IMAGE_REGISTRY --> github registry |
Ah, I see the confusion - we shouldn't be using the "REPOSITORY" one. Both dockerhub & github are registries, and should be treated as such. We'll make a fix in the comming week sometime for this, to allow for use of other registries directly. PS: Could we have a call about this? I'm wondering how you think about proxies and the like, as HTTP_PROXY can be utilised in a lot of cases, and I'd like to document how this problem can be solved. |
I have send to you a DM in the discord server |
Any news on this issue ? |
@frikky and @0x0elliot : Do you have any feedback on my issue ? Thanks |
Describe the bug
For downloading container, we need to use a proxy like JFrog or Nexus. For doing that, we need to use an internal URL instead of docker hub. I have seen in the .env file this variable SHUFFLE_BASE_IMAGE_REPOSITORY but it doesn't seems to be use. Or maybe this variable is for something else ?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Container should be downloaded trough the SHUFFLE_BASE_IMAGE_REPOSITORY URL
Debug logs
I think the issue is coming from https://github.com/Shuffle/Shuffle/blob/main/functions/onprem/worker/worker.go#L57 because the registryName is hard coded instead of using the variable SHUFFLE_BASE_IMAGE_REPOSITORY
The text was updated successfully, but these errors were encountered: