Skip to content

Commit

Permalink
Add build profiles for arm64 and amd64.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicode committed Oct 18, 2023
1 parent 533f3f2 commit da00b5b
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,50 @@
</build>

<profiles>
<profile>
<id>docker-arm64</id>
<build>
<plugins>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<configuration>
<from>
<image>${docker.base-image}</image>
<platforms>
<platform>
<architecture>arm64</architecture>
<os>linux</os>
</platform>
</platforms>
</from>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>docker-amd64</id>
<build>
<plugins>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<configuration>
<from>
<image>${docker.base-image}</image>
<platforms>
<platform>
<architecture>amd64</architecture>
<os>linux</os>
</platform>
</platforms>
</from>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>deb</id>
<build>
Expand Down

0 comments on commit da00b5b

Please sign in to comment.