Created
January 27, 2020 20:00
-
-
Save j-tim/3a853de1224b0b839ee398d04a6b0077 to your computer and use it in GitHub Desktop.
Spring Boot 2.3.0 spring-boot-maven-plugin customize image name configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-parent</artifactId> | |
| <version>2.3.0.M1</version> | |
| <relativePath/> <!-- lookup parent from repository --> | |
| </parent> | |
| <groupId>cloud.native.buildpacks.example</groupId> | |
| <artifactId>cloud-native-buildpacks-example</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <name>cloud-native-buildpacks-example</name> | |
| <description>Demo project for Spring Boot</description> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-maven-plugin</artifactId> | |
| <version>2.3.0.M1</version> | |
| <configuration> | |
| <image> | |
| <name>docker.io/jtim/${project.artifactId}:latest</name> | |
| </image> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment