Last active
October 29, 2020 12:50
-
-
Save j-tim/a5747a55a0fafbc2a6b8d8b752d688e5 to your computer and use it in GitHub Desktop.
Build snippet from a pom.xml to configure OCI images using the spring-boot-maven-plugin.
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
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
<configuration> | |
<image> | |
<name>yourcontainerregistry.azurecr.io/${project.artifactId}</name> | |
</image> | |
<layers> | |
<enabled>true</enabled> | |
<includeLayerTools>true</includeLayerTools> | |
</layers> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment