-
Notifications
You must be signed in to change notification settings - Fork 40.9k
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
Parsing OCI image names that are invalid due to the use of upper case letters is very slow #35657
Comments
I can't reproduce what you are describing with a trivial application generated by start.spring.io and configured as you've shown. |
Reproducible repo: https://github.com/mfarsikov/bootBuildImage-reproduce It is really strange, it highly depends on any change in a string. |
Thanks for the reproducer. I see that it takes some time to show the failure message with the
The upper-case letters are not valid, which is reflected in the error message from the Spring Boot plugin ( We can look at what is causing the delay (I suspect it has to do with the regular expressions we use for parsing) but I assume things are working OK for you when the image name is valid, so this is not preventing you from building images? |
You are right, after giving it the correct name it works fine. Thank you |
I'm using Spring boot plugin 3.1.0
build.gradle.kts
:during the run, it hangs for several minutes and fails:
It is strange enough, but it fails only if this is configured in a gradle script, but it works fine if the same tag is passed as a parameter:
The text was updated successfully, but these errors were encountered: