dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject [dubbo-samples] branch master updated: simplify image.name property
Date Thu, 06 Jun 2019 02:33:38 GMT
This is an automated email from the ASF dual-hosted git repository.

iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new e8847bf  simplify image.name property
e8847bf is described below

commit e8847bf8a42f20e9ad66d2c96f19acda6297a09b
Author: Ian Luo <ian.luo@gmail.com>
AuthorDate: Thu Jun 6 10:32:49 2019 +0800

    simplify image.name property
---
 dubbo-samples-annotation/pom.xml | 6 +++---
 dubbo-samples-api/pom.xml        | 6 +++---
 dubbo-samples-attachment/pom.xml | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dubbo-samples-annotation/pom.xml b/dubbo-samples-annotation/pom.xml
index f3836fc..0462f4b 100644
--- a/dubbo-samples-annotation/pom.xml
+++ b/dubbo-samples-annotation/pom.xml
@@ -37,7 +37,7 @@
         <jib-maven-plugin.version>1.2.0</jib-maven-plugin.version>
         <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
         <maven-failsafe-plugin.version>3.0.0-M3</maven-failsafe-plugin.version>
-        <image.name>${artifactId}</image.name>
+        <image.name>${artifactId}:${dubbo.version}</image.name>
         <dubbo.port>20880</dubbo.port>
         <main-class>org.apache.dubbo.samples.annotation.AnnotationProviderBootstrap</main-class>
         <spring-test.version>4.3.16.RELEASE</spring-test.version>
@@ -103,7 +103,7 @@
                                 <image>gcr.io/distroless/java:debug</image>
                             </from>
                             <to>
-                                <image>${image.name}:${dubbo.version}</image>
+                                <image>${image.name}</image>
                             </to>
                             <container>
                                 <mainClass>${main-class}</mainClass>
@@ -133,7 +133,7 @@
                         <configuration>
                             <images>
                                 <image>
-                                    <name>${image.name}:${dubbo.version}</name>
+                                    <name>${image.name}</name>
                                     <run>
                                         <ports>
                                             <port>${dubbo.port}:${dubbo.port}</port>
diff --git a/dubbo-samples-api/pom.xml b/dubbo-samples-api/pom.xml
index c77e2aa..7ca7797 100644
--- a/dubbo-samples-api/pom.xml
+++ b/dubbo-samples-api/pom.xml
@@ -35,7 +35,7 @@
         <jib-maven-plugin.version>1.2.0</jib-maven-plugin.version>
         <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
         <maven-failsafe-plugin.version>3.0.0-M3</maven-failsafe-plugin.version>
-        <image.name>${artifactId}</image.name>
+        <image.name>${artifactId}:${dubbo.version}</image.name>
         <dubbo.port>20880</dubbo.port>
         <main-class>org.apache.dubbo.samples.provider.Application</main-class>
     </properties>
@@ -69,7 +69,7 @@
                                 <image>gcr.io/distroless/java:debug</image>
                             </from>
                             <to>
-                                <image>${image.name}:${dubbo.version}</image>
+                                <image>${image.name}</image>
                             </to>
                             <container>
                                 <jvmFlags>
@@ -98,7 +98,7 @@
                         <configuration>
                             <images>
                                 <image>
-                                    <name>${image.name}:${dubbo.version}</name>
+                                    <name>${image.name}</name>
                                     <run>
                                         <ports>
                                             <port>${dubbo.port}:${dubbo.port}</port>
diff --git a/dubbo-samples-attachment/pom.xml b/dubbo-samples-attachment/pom.xml
index aff8608..d1fd62d 100644
--- a/dubbo-samples-attachment/pom.xml
+++ b/dubbo-samples-attachment/pom.xml
@@ -38,7 +38,7 @@
         <jib-maven-plugin.version>1.2.0</jib-maven-plugin.version>
         <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
         <maven-failsafe-plugin.version>3.0.0-M3</maven-failsafe-plugin.version>
-        <image.name>${artifactId}</image.name>
+        <image.name>${artifactId}:${dubbo.version}</image.name>
         <dubbo.port>20880</dubbo.port>
         <main-class>org.apache.dubbo.samples.attachment.AttachmentProvider</main-class>
     </properties>
@@ -103,7 +103,7 @@
                                 <image>gcr.io/distroless/java:debug</image>
                             </from>
                             <to>
-                                <image>${image.name}:${dubbo.version}</image>
+                                <image>${image.name}</image>
                             </to>
                             <container>
                                 <mainClass>${main-class}</mainClass>
@@ -133,7 +133,7 @@
                         <configuration>
                             <images>
                                 <image>
-                                    <name>${image.name}:${dubbo.version}</name>
+                                    <name>${image.name}</name>
                                     <run>
                                         <ports>
                                             <port>${dubbo.port}:${dubbo.port}</port>


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message