buildsImageWithTag() — spring-boot Function Reference
Architecture documentation for the buildsImageWithTag() function in BootBuildImageIntegrationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 0fd4fc95_a04e_78c7_8433_2908e613bffa["buildsImageWithTag()"] f965ce7e_2357_c125_a1d3_24069c68ecf8["writeMainClass()"] 0fd4fc95_a04e_78c7_8433_2908e613bffa -->|calls| f965ce7e_2357_c125_a1d3_24069c68ecf8 66ac0fbc_cfc2_1ca0_5597_62584de5d0fb["writeLongNameResource()"] 0fd4fc95_a04e_78c7_8433_2908e613bffa -->|calls| 66ac0fbc_cfc2_1ca0_5597_62584de5d0fb b3171812_ab1f_87c4_a83a_2a91e929e461["getName()"] 0fd4fc95_a04e_78c7_8433_2908e613bffa -->|calls| b3171812_ab1f_87c4_a83a_2a91e929e461 59ffb962_26a5_d14b_c297_e84d0815a53a["removeImages()"] 0fd4fc95_a04e_78c7_8433_2908e613bffa -->|calls| 59ffb962_26a5_d14b_c297_e84d0815a53a style 0fd4fc95_a04e_78c7_8433_2908e613bffa fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-gradle-plugin/src/dockerTest/java/org/springframework/boot/gradle/tasks/bundling/BootBuildImageIntegrationTests.java lines 293–307
@TestTemplate
void buildsImageWithTag() throws IOException {
writeMainClass();
writeLongNameResource();
BuildResult result = this.gradleBuild.build("bootBuildImage");
String projectName = this.gradleBuild.getProjectDir().getName();
BuildTask task = result.task(":bootBuildImage");
assertThat(task).isNotNull();
assertThat(task.getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
assertThat(result.getOutput()).contains("docker.io/library/" + projectName);
assertThat(result.getOutput()).contains("---> Test Info buildpack building");
assertThat(result.getOutput()).contains("---> Test Info buildpack done");
assertThat(result.getOutput()).contains("example.com/myapp:latest");
removeImages(projectName, "example.com/myapp:latest");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does buildsImageWithTag() do?
buildsImageWithTag() is a function in the spring-boot codebase.
What does buildsImageWithTag() call?
buildsImageWithTag() calls 4 function(s): getName, removeImages, writeLongNameResource, writeMainClass.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free