summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-os-chef/pom.xml')
-rw-r--r--sdc-os-chef/pom.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/sdc-os-chef/pom.xml b/sdc-os-chef/pom.xml
index 1c6d5e6ed5..88bff4e778 100644
--- a/sdc-os-chef/pom.xml
+++ b/sdc-os-chef/pom.xml
@@ -11,6 +11,9 @@
<version>1.1.0-SNAPSHOT</version>
</parent>
+ <properties>
+ <docker.tag>${project.version}-SNAPSHOT-${maven.build.timestamp}</docker.tag>
+ </properties>
<build>
<plugins>
@@ -47,6 +50,12 @@
<profiles>
<profile>
+ <id>docker-staging</id>
+ <properties>
+ <docker.tag>${project.version}-STAGING</docker.tag>
+ </properties>
+ </profile>
+ <profile>
<id>docker</id>
<build>
<plugins>
@@ -134,6 +143,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>
@@ -144,6 +156,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>
@@ -154,6 +169,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-elasticsearch</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>
@@ -164,6 +182,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-kibana</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>
@@ -174,6 +195,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-cassandra</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>
@@ -184,6 +208,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-sanity</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>