|
|
|
@ -457,7 +457,28 @@ |
|
|
|
</authConfig> |
|
|
|
<images> |
|
|
|
<image> |
|
|
|
<name>${aws.ecr.registry}/aeon-prod/${aws.ecr.repositoryProd}:latest</name> |
|
|
|
<name>${aws.ecr.registry}/${aws.ecr.repository}:latest</name> |
|
|
|
<registry>${aws.ecr.registry}</registry> |
|
|
|
<build> |
|
|
|
<dockerFile>${project.basedir}/Dockerfile</dockerFile> |
|
|
|
</build> |
|
|
|
</image> |
|
|
|
</images> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
<!-- 测试环境 --> |
|
|
|
<plugin> |
|
|
|
<groupId>io.fabric8</groupId> |
|
|
|
<artifactId>docker-maven-plugin</artifactId> |
|
|
|
<version>0.38.1</version> |
|
|
|
<configuration> |
|
|
|
<authConfig> |
|
|
|
<username>AKIAQNYBBSGDVT3VF4ON</username> |
|
|
|
<password>DEhPMTHAIsKK7L2klURQrmMe3r2Tqgbaa6z2FYQu</password> |
|
|
|
</authConfig> |
|
|
|
<images> |
|
|
|
<image> |
|
|
|
<name>${aws.ecr.registryTest}/aeon/${aws.ecr.repository}:latest</name> |
|
|
|
<registry>${aws.ecr.registry}</registry> |
|
|
|
<build> |
|
|
|
<dockerFile>${project.basedir}/Dockerfile</dockerFile> |
|
|
|
@ -466,27 +487,6 @@ |
|
|
|
</images> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
<!-- <!– 测试环境 –>--> |
|
|
|
<!-- <plugin>--> |
|
|
|
<!-- <groupId>io.fabric8</groupId>--> |
|
|
|
<!-- <artifactId>docker-maven-plugin</artifactId>--> |
|
|
|
<!-- <version>0.38.1</version>--> |
|
|
|
<!-- <configuration>--> |
|
|
|
<!-- <authConfig>--> |
|
|
|
<!-- <username>AKIAQNYBBSGDVT3VF4ON</username>--> |
|
|
|
<!-- <password>DEhPMTHAIsKK7L2klURQrmMe3r2Tqgbaa6z2FYQu</password>--> |
|
|
|
<!-- </authConfig>--> |
|
|
|
<!-- <images>--> |
|
|
|
<!-- <image>--> |
|
|
|
<!-- <name>${aws.ecr.registryTest}/aeon/${aws.ecr.repository}:latest</name>--> |
|
|
|
<!-- <registry>${aws.ecr.registry}</registry>--> |
|
|
|
<!-- <build>--> |
|
|
|
<!-- <dockerFile>${project.basedir}/Dockerfile</dockerFile>--> |
|
|
|
<!-- </build>--> |
|
|
|
<!-- </image>--> |
|
|
|
<!-- </images>--> |
|
|
|
<!-- </configuration>--> |
|
|
|
<!-- </plugin>--> |
|
|
|
|
|
|
|
|
|
|
|
</plugins> |
|
|
|
|