mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
REPO-3336 : Deployment: Release Process: fabric8
Add fabric8 plugin into docker-alfresco project and configure it to build and push a docker image to quay add .mave-dockerignore in order for fabric8 plugin to ignore the generated .tar file when building the docker image.
This commit is contained in:
1
docker-alfresco/.maven-dockerignore
Normal file
1
docker-alfresco/.maven-dockerignore
Normal file
@@ -0,0 +1 @@
|
||||
target/docker/
|
@@ -161,6 +161,53 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>fabric8-maven-plugin</artifactId>
|
||||
<version>3.5.37</version>
|
||||
|
||||
<configuration>
|
||||
<!--<dockerHost>npipe:////./pipe/docker_engine</dockerHost>-->
|
||||
|
||||
<images>
|
||||
<image>
|
||||
<name>alfresco-content-services-community</name>
|
||||
|
||||
<registry>quay.io/alfresco</registry>
|
||||
<build>
|
||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||
<tags>
|
||||
<tag>${bamboo.inject.tag}</tag>
|
||||
<!--<tag>${project.version}</tag> -->
|
||||
</tags>
|
||||
</build>
|
||||
</image>
|
||||
<!--
|
||||
<image>
|
||||
<name>alfresco-content-services-community</name>
|
||||
|
||||
<registry>docker-internal.alfresco.com</registry>
|
||||
<build>
|
||||
<tags>
|
||||
<tag>${bamboo.inject.tag}</tag>
|
||||
<<tag>latest</tag>
|
||||
</tags>
|
||||
</build>
|
||||
</image>
|
||||
-->
|
||||
</images>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build</id>
|
||||
<goals>
|
||||
<goal>build</goal>
|
||||
<goal>push</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
1
pom.xml
1
pom.xml
@@ -42,6 +42,7 @@
|
||||
<properties>
|
||||
<!-- Set to "Community Early Access" to add to the version.edition property in version.properties -->
|
||||
<version.edition>Community</version.edition>
|
||||
<bamboo.inject.tag>latest</bamboo.inject.tag>
|
||||
|
||||
<dependency.alfresco-repository.version>6.28</dependency.alfresco-repository.version>
|
||||
<dependency.alfresco-remote-api.version>6.19</dependency.alfresco-remote-api.version>
|
||||
|
Reference in New Issue
Block a user