Browse Source

Add LTS docker tag build config

pull/14668/head
Viacheslav Klimov 7 months ago
parent
commit
028083da9d
  1. 42
      msa/pom.xml

42
msa/pom.xml

@ -125,6 +125,48 @@
</plugins>
</build>
</profile>
<profile>
<id>lts</id>
<activation>
<property>
<name>lts</name>
</property>
</activation>
<properties>
<docker.lts.tag>4.2.1-latest</docker.lts.tag>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>push-lts-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}:${docker.lts.tag}</argument>
<argument>--platform=linux/amd64,linux/arm64</argument>
<argument>-o</argument>
<argument>type=registry</argument>
<argument>.</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<extensions>

Loading…
Cancel
Save