csantanapr closed pull request #45: Update patch level for php & publish docker 
image latest with git hash
URL: https://github.com/apache/incubator-openwhisk-runtime-php/pull/45
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/core/php7.1Action/Dockerfile b/core/php7.1Action/Dockerfile
index d451144..c9ef0fa 100644
--- a/core/php7.1Action/Dockerfile
+++ b/core/php7.1Action/Dockerfile
@@ -15,7 +15,7 @@
 # limitations under the License.
 #
 
-FROM php:7.1.18-alpine
+FROM php:7.1.23-alpine
 
 RUN \
     apk update && apk upgrade && \
diff --git a/core/php7.2Action/Dockerfile b/core/php7.2Action/Dockerfile
index fb08b24..fcfd481 100644
--- a/core/php7.2Action/Dockerfile
+++ b/core/php7.2Action/Dockerfile
@@ -15,7 +15,7 @@
 # limitations under the License.
 #
 
-FROM php:7.2.6-alpine
+FROM php:7.2.12-alpine
 
 RUN \
     apk update && apk upgrade && \
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index dfd5ab3..42e37ef 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -40,4 +40,15 @@ TERM=dumb ./gradlew \
 -PdockerRegistry=docker.io \
 -PdockerImagePrefix=${IMAGE_PREFIX} \
 -PdockerImageTag=${IMAGE_TAG}
+
+  # if doing latest also push a tag with the hash commit
+  if [ ${IMAGE_TAG} == "latest" ]; then
+  SHORT_COMMIT=`git rev-parse --short HEAD`
+  TERM=dumb ./gradlew \
+  :core:php${RUNTIME_VERSION}Action:distDocker \
+  -PdockerRegistry=docker.io \
+  -PdockerImagePrefix=${IMAGE_PREFIX} \
+  -PdockerImageTag=${SHORT_COMMIT}
+  fi
+
 fi


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to