-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
[Bug]: ImageSubstitutor not applied to ryuk image #1893
Comments
Hey @aloifolia at the moment the image substitutor is not applied to the reaper. I think we can implement as a feature request instead of a bug, probably supporting it at the properties level. Please see my follow-up comment in #1719:
|
Hey @aloifolia would it be enough if you could define the Ryuk image at the properties level, like in Java https://java.testcontainers.org/features/configuration/#customizing-images? I have a working branch to implement that. |
The documentation mentions that the configuration via properties is deprecated. For this reason, I use the environment variable TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX which does the job equally well for me. |
Cool, thanks for your input. I'm currently providing support for |
@aloifolia How did you set the environment variable |
Testcontainers version
v0.26.0
Using the latest Testcontainers version?
Yes
Host OS
Linux
Host arch
x86
Go version
1.21
Docker version
Docker info
What happened?
When I use image name substitution, the substitutor will not be applied to the ryuk image. Hence, I see logs like
Now, this looks like a bug. In an environment that requires you to use a private registry, you need to be able to adapt ryuk, as well. Or am I missing something?
My test code looks like this:
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: