diff options
author | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2018-06-06 13:18:05 +0200 |
---|---|---|
committer | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2018-08-01 11:20:58 +0200 |
commit | 0aa02844a2d9806ab30a010b9b5d928d69392579 (patch) | |
tree | 04e5267816bc16e1b8ecec70d975bd04ad46b201 /pom.xml | |
parent | 763b680bea3f5c14e70453845d7670f7ae691e87 (diff) |
Push docker images to a registry
Change-Id: Ife1d98af977a439ef7196caa2cf8fb0968e65fe3
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Issue-ID: DCAEGEN2-601
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -94,6 +94,13 @@ </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + <plugin> <artifactId>kotlin-maven-plugin</artifactId> <groupId>org.jetbrains.kotlin</groupId> <version>${kotlin.version}</version> @@ -352,6 +359,13 @@ <goal>build</goal> </goals> </execution> + <execution> + <id>push-docker-image</id> + <phase>deploy</phase> + <goals> + <goal>push</goal> + </goals> + </execution> </executions> <configuration> <verbose>true</verbose> @@ -362,9 +376,6 @@ <name>${docker-image.namespace}/${docker-image.name}</name> <build> <dockerFileDir>${project.basedir}</dockerFileDir> - <tags> - <tag>${project.version}</tag> - </tags> </build> </image> </images> |