You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2020/11/09 08:24:38 UTC

[isis-app-simpleapp] branch master updated: updates jib build config

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e46c9a  updates jib build config
8e46c9a is described below

commit 8e46c9aa1cb36af2c420632d78ea002d7d21719c
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Nov 9 08:23:32 2020 +0000

    updates jib build config
---
 webapp/pom.xml | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/webapp/pom.xml b/webapp/pom.xml
index 29b29c1..016c297 100644
--- a/webapp/pom.xml
+++ b/webapp/pom.xml
@@ -264,7 +264,7 @@
         </profile>
 
         <profile>
-            <id>docker</id>
+            <id>deploy-to-docker-io</id>
             <activation>
                 <property>
                     <name>docker</name>
@@ -277,7 +277,7 @@
                         <artifactId>jib-maven-plugin</artifactId>
                         <configuration>
                             <from>
-                                <image>openjdk:8-alpine</image>
+                                <image>openjdk:15-alpine</image>
                             </from>
                             <container>
                                 <jvmFlags>
@@ -287,12 +287,11 @@
                                 <ports>
                                     <port>8080</port>
                                 </ports>
-                                <workingDirectory>/run/secrets</workingDirectory>
                             </container>
                             <to>
-                                <image>docker.io/apacheisis/simpleapp</image>
+                                <image>docker.io/apacheisis/demo-wicket</image>
                                 <tags>
-                                    <tag>latest</tag>
+                                    <tag>nightly</tag>
                                     <tag>${env.REVISION}</tag>
                                 </tags>
                                 <auth>
@@ -301,20 +300,11 @@
                                 </auth>
                             </to>
                         </configuration>
-                        <executions>
-                            <execution>
-                                <phase>package</phase>
-                                <goals>
-                                    <goal>build</goal>
-                                </goals>
-                            </execution>
-                        </executions>
                     </plugin>
                 </plugins>
             </build>
         </profile>
 
-
     </profiles>
 
 </project>