You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2019/06/29 21:57:01 UTC

[incubator-openwhisk-runtime-nodejs] branch master updated: change travis builds to publish docker images with tag 'nightly' (#139)

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

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-runtime-nodejs.git


The following commit(s) were added to refs/heads/master by this push:
     new ac4760f  change travis builds to publish docker images with tag 'nightly' (#139)
ac4760f is described below

commit ac4760f77b63f5742d24f5d04d4b1ced124bdd85
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Sat Jun 29 17:56:56 2019 -0400

    change travis builds to publish docker images with tag 'nightly' (#139)
---
 .travis.yml             | 2 +-
 tools/travis/publish.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e62ba20..4b013af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -41,7 +41,7 @@ deploy:
       all_branches: true
       repo: apache/incubator-openwhisk-runtime-nodejs
   - provider: script
-    script: "./tools/travis/publish.sh openwhisk 6 latest && ./tools/travis/publish.sh openwhisk 8 latest && ./tools/travis/publish.sh openwhisk 10 latest && ./tools/travis/publish.sh openwhisk 12 latest"
+    script: "./tools/travis/publish.sh openwhisk 6 nightly && ./tools/travis/publish.sh openwhisk 8 nightly && ./tools/travis/publish.sh openwhisk 10 nightly && ./tools/travis/publish.sh openwhisk 12 nightly"
     on:
       branch: master
       repo: apache/incubator-openwhisk-runtime-nodejs
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index e2ca1c3..6c4807d 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -51,8 +51,8 @@ TERM=dumb ./gradlew \
 -PdockerImagePrefix=${IMAGE_PREFIX} \
 -PdockerImageTag=${IMAGE_TAG}
 
-  # if doing latest also push a tag with the hash commit
-  if [ ${IMAGE_TAG} == "latest" ]; then
+  # if doing nightly also push a tag with the hash commit
+  if [ ${IMAGE_TAG} == "nightly" ]; then
   SHORT_COMMIT=`git rev-parse --short HEAD`
   TERM=dumb ./gradlew \
   :core:${RUNTIME}:distDocker \