RM-6377 Removed image publishing on docker hub from the root pom so that only the community images are be pubished on this registry, while the enterprise images will be published only on quay.

This commit is contained in:
Elena Hardon
2018-07-04 11:35:34 +03:00
parent 5e06350738
commit 967d88dd93
2 changed files with 18 additions and 14 deletions

View File

@@ -362,12 +362,6 @@
<dockerFileDir>${project.basedir}/</dockerFileDir>
</build>
</image>
<image>
<name>${image.name}:${project.version}</name>
<build>
<dockerFileDir>${project.basedir}/</dockerFileDir>
</build>
</image>
</images>
</configuration>
<executions>

View File

@@ -700,13 +700,23 @@
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<configuration>
<images>
<image>
<name>${image.name}:${project.version}</name>
<build>
<dockerFileDir>${project.basedir}/</dockerFileDir>
</build>
</image>
</images>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>