Skip to content

Commit 356ff11

Browse files
committed
Enable CDS
1 parent 20cf237 commit 356ff11

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

authorization/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,15 @@
115115
<plugin>
116116
<groupId>org.springframework.boot</groupId>
117117
<artifactId>spring-boot-maven-plugin</artifactId>
118+
<configuration>
119+
<image>
120+
<env>
121+
<BP_OCI_SOURCE>https://github.com/${env.GITHUB_REPOSITORY}</BP_OCI_SOURCE>
122+
<BP_OCI_REVISION>${env.GITHUB_SHA}</BP_OCI_REVISION>
123+
<BP_JVM_CDS_ENABLED>true</BP_JVM_CDS_ENABLED>
124+
</env>
125+
</image>
126+
</configuration>
118127
</plugin>
119128
<plugin>
120129
<groupId>io.spring.javaformat</groupId>

todo-api/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,15 @@
117117
<plugin>
118118
<groupId>org.springframework.boot</groupId>
119119
<artifactId>spring-boot-maven-plugin</artifactId>
120+
<configuration>
121+
<image>
122+
<env>
123+
<BP_OCI_SOURCE>https://github.com/${env.GITHUB_REPOSITORY}</BP_OCI_SOURCE>
124+
<BP_OCI_REVISION>${env.GITHUB_SHA}</BP_OCI_REVISION>
125+
<BP_JVM_CDS_ENABLED>true</BP_JVM_CDS_ENABLED>
126+
</env>
127+
</image>
128+
</configuration>
120129
</plugin>
121130
<plugin>
122131
<groupId>io.spring.javaformat</groupId>

todo-frontend/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,15 @@
117117
<plugin>
118118
<groupId>org.springframework.boot</groupId>
119119
<artifactId>spring-boot-maven-plugin</artifactId>
120+
<configuration>
121+
<image>
122+
<env>
123+
<BP_OCI_SOURCE>https://github.com/${env.GITHUB_REPOSITORY}</BP_OCI_SOURCE>
124+
<BP_OCI_REVISION>${env.GITHUB_SHA}</BP_OCI_REVISION>
125+
<BP_JVM_CDS_ENABLED>true</BP_JVM_CDS_ENABLED>
126+
</env>
127+
</image>
128+
</configuration>
120129
</plugin>
121130
<plugin>
122131
<groupId>io.spring.javaformat</groupId>

0 commit comments

Comments
 (0)