Skip to content

bootBuildImage runs forever when a custom image name is used and the version contains an illegal character #23115

@mxab

Description

@mxab

I noticed that when I have for example a + in the version the build fails, which is ok I guess. But when I have a + in the version and set a custom image name e.g:

// version that contains a '+'
version="1.6.0-dev.2.uncommitted+wip.foo.c75795d"

and

tasks.named("bootBuildImage") {
    imageName = "registry.example.com/example/example-app:${version}"
}

the build image job runs forever.

See this example app here:
https://github.com/mxab/spring-boot-illegal-version-custom-name-problem

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions