Commit f4d28300 authored by Alicja Reniewicz's avatar Alicja Reniewicz
Browse files

configuration for pushing docker images into gitlab ow2 container registry

parent fe5c4d77
Pipeline #8487 failed with stages
in 156 minutes and 32 seconds
......@@ -74,7 +74,8 @@
<docker.push>false</docker.push>
<docker.repository>127.0.0.1:5000/</docker.repository>
<!--suppress UnresolvedMavenProperty -->
<docker.imagePrefix>melodic-${scmBranch}/</docker.imagePrefix>
<docker.imageTag>${scmBranch}</docker.imageTag>
<docker.imagePrefix>melodic/melodic-upperware/</docker.imagePrefix>
<docker.imageName>parent</docker.imageName>
<docker.jarToInclude>${project.build.finalName}.jar</docker.jarToInclude>
<docker.spotify-plugin.version>0.4.10</docker.spotify-plugin.version>
......@@ -229,8 +230,9 @@
<version>${docker.spotify-plugin.version}</version>
<configuration>
<dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
<imageName>${docker.repository}${docker.imagePrefix}${docker.imageName}</imageName>
<imageName>${docker.repository}${docker.imagePrefix}${docker.imageName}:${docker.imageTag}</imageName>
<pushImage>${docker.push}</pushImage>
<serverId>ow2.melodic</serverId>
<resources>
<resource>
<targetPath>/</targetPath>
......@@ -385,11 +387,11 @@
<profile>
<id>docker-remote</id>
<properties>
<docker.repository>88.99.85.63:5000/</docker.repository>
<docker.repository>gitlab.ow2.org:4567/</docker.repository>
<docker.push>true</docker.push>
</properties>
</profile>
</profiles>
</project>
\ No newline at end of file
</project>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment