aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/docker/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/docker/pom.xml')
-rw-r--r--deployment/docker/pom.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/deployment/docker/pom.xml b/deployment/docker/pom.xml
index e0056ecb..e18d6244 100644
--- a/deployment/docker/pom.xml
+++ b/deployment/docker/pom.xml
@@ -99,6 +99,19 @@
</configuration>
</execution>
<execution>
+ <id>tag-image-project-version</id>
+ <phase>deploy</phase>
+ <goals>
+ <goal>tag</goal>
+ </goals>
+ <configuration>
+ <image>${docker.image.name}</image>
+ <newName>${docker.push.registry}/${docker.image.name}:${project.version}</newName>
+ <pushImage>${skip.docker.push}</pushImage>
+ <skipDockerTag>${skip.docker.tag}</skipDockerTag>
+ </configuration>
+ </execution>
+ <execution>
<id>tag-image-latest-version</id>
<phase>deploy</phase>
<goals>