Update Tag creation when pushing to docker hub
This commit is contained in:
parent
3ccbccb074
commit
fd264ff7cc
6 changed files with 16 additions and 4 deletions
|
|
@ -486,6 +486,7 @@
|
|||
<descriptorRef>artifact</descriptorRef>
|
||||
</assembly>
|
||||
<tags>
|
||||
<tag>${version.number}</tag>
|
||||
<tag>latest</tag>
|
||||
</tags>
|
||||
</build>
|
||||
|
|
|
|||
|
|
@ -483,7 +483,10 @@
|
|||
</inline>
|
||||
</assembly>
|
||||
|
||||
|
||||
<tags>
|
||||
<tag>${version.number}</tag>
|
||||
<tag>latest</tag>
|
||||
</tags>
|
||||
</build>
|
||||
|
||||
<run>
|
||||
|
|
|
|||
|
|
@ -230,7 +230,10 @@
|
|||
<assembly>
|
||||
<descriptorRef>artifact</descriptorRef>
|
||||
</assembly>
|
||||
|
||||
<tags>
|
||||
<tag>${version.number}</tag>
|
||||
<tag>latest</tag>
|
||||
</tags>
|
||||
</build>
|
||||
|
||||
<run>
|
||||
|
|
|
|||
|
|
@ -371,7 +371,10 @@
|
|||
<tags>
|
||||
<tag>latest</tag>
|
||||
</tags>
|
||||
|
||||
<tags>
|
||||
<tag>${version.number}</tag>
|
||||
<tag>latest</tag>
|
||||
</tags>
|
||||
</build>
|
||||
|
||||
<run>
|
||||
|
|
|
|||
|
|
@ -386,7 +386,8 @@ public class KieServiceCommon {
|
|||
for (ContainerRuntimePojoPersist element : containerRuntimePojoPersists) {
|
||||
logger.debug("runtime {} has status {}", element.getContainerId(), element.getStatus());
|
||||
ContainerPojoPersist containerPojoPersist = containerRepository.findByServerNameAndContainerId(serverName, element.getContainerId());
|
||||
if (element.getStatus().equals(ContainerRuntimePojoPersist.STATUS.TODEPLOY.name())) {
|
||||
if (containerPojoPersist!= null
|
||||
&& element.getStatus().equals(ContainerRuntimePojoPersist.STATUS.TODEPLOY.name())) {
|
||||
logger.info("start deploy new container");
|
||||
this.disposeContainer(element.getContainerId());
|
||||
KieContainerResource newContainer = new KieContainerResource();
|
||||
|
|
|
|||
|
|
@ -262,6 +262,7 @@
|
|||
<descriptorRef>artifact</descriptorRef>
|
||||
</assembly>
|
||||
<tags>
|
||||
<tag>${version.number}</tag>
|
||||
<tag>latest</tag>
|
||||
</tags>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue