Skip to content

Commit

Permalink
question: how to set image labels from a generator config
Browse files Browse the repository at this point in the history
  • Loading branch information
davidecavestro committed Apr 8, 2024
1 parent 2ebeabe commit a6a6b79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions quickstarts/maven/spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@
<config>
<spring-boot>
<color>always</color>
<from>registry.access.redhat.com/ubi8/openjdk-17-runtime</from> <!-- control base for generated image name -->
<name>my/image:0.0.1</name> <!-- control generated image name -->
<targetDir>/path/to/my/app</targetDir> <!-- control app folder within generated image -->
<labels>foo=abc,bar=123</labels> <!-- how can I do this? -->
</spring-boot>
</config>
</generator>
Expand Down

0 comments on commit a6a6b79

Please sign in to comment.