|
|
|
@ -355,6 +355,150 @@ |
|
|
|
</plugins> |
|
|
|
</build> |
|
|
|
</profile> |
|
|
|
<profile> |
|
|
|
<id>push-docker-amd-arm-images</id> |
|
|
|
<activation> |
|
|
|
<property> |
|
|
|
<name>push-docker-amd-arm-images</name> |
|
|
|
</property> |
|
|
|
</activation> |
|
|
|
<build> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
<groupId>org.codehaus.mojo</groupId> |
|
|
|
<artifactId>exec-maven-plugin</artifactId> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>push-latest-docker-amd-arm-tb-images</id> |
|
|
|
<phase>pre-integration-test</phase> |
|
|
|
<goals> |
|
|
|
<goal>exec</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<executable>docker</executable> |
|
|
|
<workingDirectory>${project.build.directory}/docker-tb</workingDirectory> |
|
|
|
<arguments> |
|
|
|
<argument>buildx</argument> |
|
|
|
<argument>build</argument> |
|
|
|
<argument>-t</argument> |
|
|
|
<argument>${docker.repo}/${tb.docker.name}:latest</argument> |
|
|
|
<argument>--platform=linux/amd64,linux/arm64</argument> |
|
|
|
<argument>-o</argument> |
|
|
|
<argument>type=registry</argument> |
|
|
|
<argument>.</argument> |
|
|
|
</arguments> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
<execution> |
|
|
|
<id>push-version-docker-amd-arm-tb-images</id> |
|
|
|
<phase>pre-integration-test</phase> |
|
|
|
<goals> |
|
|
|
<goal>exec</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<executable>docker</executable> |
|
|
|
<workingDirectory>${project.build.directory}/docker-tb</workingDirectory> |
|
|
|
<arguments> |
|
|
|
<argument>buildx</argument> |
|
|
|
<argument>build</argument> |
|
|
|
<argument>-t</argument> |
|
|
|
<argument>${docker.repo}/${tb.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> |
|
|
|
<id>push-latest-docker-amd-arm-tb-postgres-images</id> |
|
|
|
<phase>pre-integration-test</phase> |
|
|
|
<goals> |
|
|
|
<goal>exec</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<executable>docker</executable> |
|
|
|
<workingDirectory>${project.build.directory}/docker-postgres</workingDirectory> |
|
|
|
<arguments> |
|
|
|
<argument>buildx</argument> |
|
|
|
<argument>build</argument> |
|
|
|
<argument>-t</argument> |
|
|
|
<argument>${docker.repo}/${tb-postgres.docker.name}:latest</argument> |
|
|
|
<argument>--platform=linux/amd64,linux/arm64</argument> |
|
|
|
<argument>-o</argument> |
|
|
|
<argument>type=registry</argument> |
|
|
|
<argument>.</argument> |
|
|
|
</arguments> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
<execution> |
|
|
|
<id>push-version-docker-amd-arm-tb-postgres-images</id> |
|
|
|
<phase>pre-integration-test</phase> |
|
|
|
<goals> |
|
|
|
<goal>exec</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<executable>docker</executable> |
|
|
|
<workingDirectory>${project.build.directory}/docker-postgres</workingDirectory> |
|
|
|
<arguments> |
|
|
|
<argument>buildx</argument> |
|
|
|
<argument>build</argument> |
|
|
|
<argument>-t</argument> |
|
|
|
<argument>${docker.repo}/${tb-postgres.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> |
|
|
|
<id>push-latest-docker-amd-arm-tb-cassandra-images</id> |
|
|
|
<phase>pre-integration-test</phase> |
|
|
|
<goals> |
|
|
|
<goal>exec</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<executable>docker</executable> |
|
|
|
<workingDirectory>${project.build.directory}/docker-cassandra</workingDirectory> |
|
|
|
<arguments> |
|
|
|
<argument>buildx</argument> |
|
|
|
<argument>build</argument> |
|
|
|
<argument>-t</argument> |
|
|
|
<argument>${docker.repo}/${tb-cassandra.docker.name}:latest</argument> |
|
|
|
<argument>--platform=linux/amd64,linux/arm64</argument> |
|
|
|
<argument>-o</argument> |
|
|
|
<argument>type=registry</argument> |
|
|
|
<argument>.</argument> |
|
|
|
</arguments> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
<execution> |
|
|
|
<id>push-version-docker-amd-arm-tb-cassandra-images</id> |
|
|
|
<phase>pre-integration-test</phase> |
|
|
|
<goals> |
|
|
|
<goal>exec</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<executable>docker</executable> |
|
|
|
<workingDirectory>${project.build.directory}/docker-cassandra</workingDirectory> |
|
|
|
<arguments> |
|
|
|
<argument>buildx</argument> |
|
|
|
<argument>build</argument> |
|
|
|
<argument>-t</argument> |
|
|
|
<argument>${docker.repo}/${tb-cassandra.docker.name}:${project.version}</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> |
|
|
|
<repositories> |
|
|
|
<repository> |
|
|
|
|