Skip to content

OCI image build fails if environment has any empty properties #22703

@dsyer

Description

@dsyer

pom.xml:

			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<configuration>
					<image>
						<env>
							<FOO></FOO>
						</env>
					</image>
				</configuration>
			</plugin>

result:

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.4.0-SNAPSHOT:build-image (default-cli) on project func: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:2.4.0-SNAPSHOT:build-image failed: String must not be null -> [Help 1]

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions