Browse Source

Merge pull request #14670 from thingsboard/lts-docker

Separate push-lts-docker-amd-arm-images profile
pull/14711/head
Viacheslav Klimov 9 months ago
committed by GitHub
parent
commit
d3af6ba616
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 25
      msa/pom.xml

25
msa/pom.xml

@ -126,10 +126,10 @@
</build> </build>
</profile> </profile>
<profile> <profile>
<id>lts</id> <id>push-lts-docker-amd-arm-images</id>
<activation> <activation>
<property> <property>
<name>lts</name> <name>push-lts-docker-amd-arm-images</name>
</property> </property>
</activation> </activation>
<properties> <properties>
@ -141,6 +141,27 @@
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>
<executions> <executions>
<execution>
<id>push-version-docker-amd-arm-images</id>
<phase>${docker.push-arm-amd-image.phase}</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>docker</executable>
<workingDirectory>${project.build.directory}</workingDirectory>
<arguments>
<argument>buildx</argument>
<argument>build</argument>
<argument>-t</argument>
<argument>${docker.repo}/${docker.name}:${project.version}</argument>
<argument>--platform=linux/amd64,linux/arm64</argument>
<argument>-o</argument>
<argument>type=registry</argument>
<argument>.</argument>
</arguments>
</configuration>
</execution>
<execution> <execution>
<id>push-lts-docker-amd-arm-images</id> <id>push-lts-docker-amd-arm-images</id>
<phase>${docker.push-arm-amd-image.phase}</phase> <phase>${docker.push-arm-amd-image.phase}</phase>

Loading…
Cancel
Save