• Scott Frederick's avatar
    Validate image references before passing to CNB builder · 28643e4d
    Scott Frederick authored
    Prior to this commit, an image name or run image name derived from
    the project name or provided by the user would be passed to the CNB
    builder without validation by the Maven plugin build-image goal or
    Gradle plugin bootBuildImage task. This could lead to error messages
    from the plugins that are difficult to understand and diagnose.
    
    This commit makes parsing of the image names more strict, based on
    the grammar implemented by the Docker go library. This provides
    validation of the image names before passing them to the builder,
    with a more descriptive error message when parsing and validation
    fails.
    
    Fixes gh-21495
    28643e4d
Name
Last commit
Last update
..
src Loading commit data...
.gitignore Loading commit data...
build.gradle Loading commit data...