mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Removed duplicated declarations of release profiles, updated readme file and edited the comments from the release profiles in the parent pom
This commit is contained in:
@@ -157,7 +157,7 @@ Depending on which version of AGS you want to start, Community or Enterprise, **
|
||||
From the root folder of the project you can create both the Repo and the Share images for Community and Enterprise.
|
||||
To build all the images use the following command:
|
||||
```
|
||||
mvn install -PbuildDockerImages
|
||||
mvn install -PbuildDockerImage
|
||||
```
|
||||
If only the Community or Enterprise images need to be built than the same command as above must be run either in the rm-community or rm-enterprise modules.
|
||||
|
||||
|
4
pom.xml
4
pom.xml
@@ -344,7 +344,7 @@
|
||||
</profile>
|
||||
|
||||
|
||||
<!-- Profile used to build and push docker images with project.version tag to hub.docker when the community deploy goal encounters-->
|
||||
<!-- Profile used to build and push docker images with project.version tag to hub.docker when the enterprise deploy goal encounters-->
|
||||
<profile>
|
||||
<id>release-enterprise</id>
|
||||
<build>
|
||||
@@ -382,7 +382,7 @@
|
||||
</profile>
|
||||
|
||||
<!-- Profile used to build and push docker images with project.version tag to both image registries quay.io and hub.docker when
|
||||
the enterprise deploy goal encounters-->
|
||||
the community deploy goal encounters-->
|
||||
<profile>
|
||||
<id>release-community</id>
|
||||
<build>
|
||||
|
@@ -704,33 +704,6 @@
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>fabric8-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<images>
|
||||
<image>
|
||||
<name>${image.name}:${project.version}</name>
|
||||
<registry>${image.registry}</registry>
|
||||
<build>
|
||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||
</build>
|
||||
</image>
|
||||
<image>
|
||||
<name>${image.name}:${project.version}</name>
|
||||
<build>
|
||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||
</build>
|
||||
</image>
|
||||
</images>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-push-image</id>
|
||||
<phase>deploy</phase>
|
||||
<goals>
|
||||
<goal>build</goal>
|
||||
<goal>push</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
Reference in New Issue
Block a user