diff options
Diffstat (limited to 'engine-d-standalone')
-rw-r--r-- | engine-d-standalone/pom.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine-d-standalone/pom.xml b/engine-d-standalone/pom.xml index aad9e37..00c83df 100644 --- a/engine-d-standalone/pom.xml +++ b/engine-d-standalone/pom.xml @@ -213,6 +213,7 @@ } project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest"; + project.properties['project.docker.latesttag.version.with.timestamp'] = versionArray[0] + "-STAGING-${build.number}"; println 'New Tag for docker:' + project.properties['project.docker.latesttag.version']; @@ -244,8 +245,9 @@ <dockerFile>${basedir}/target/version/Dockerfile</dockerFile> <tags> <tag>${project.version}</tag> - <tag>${project.version}-STAGING-${maven.build.timestamp}</tag> + <tag>${project.version}-${build.number}</tag> <tag>${project.docker.latesttag.version}</tag> + <tag>${project.docker.latesttag.version.with.timestamp}</tag> </tags> </build> </image> |