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 22:01:15 UTC

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

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-ballerina.git


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

commit df00d24db3a48d35bb47a5b277551b585721a2d0
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Sat Jun 29 18:01:11 2019 -0400

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

diff --git a/.travis.yml b/.travis.yml
index b418d90..dcffcf5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,7 +27,7 @@ deploy:
     all_branches: true
     repo: apache/incubator-openwhisk-runtime-ballerina
 - provider: script
-  script: "./tools/travis/publish.sh openwhisk latest"
+  script: "./tools/travis/publish.sh openwhisk nightly"
   on:
     branch: master
     repo: apache/incubator-openwhisk-runtime-ballerina
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index 2832281..d8d28f2 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -39,8 +39,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 \
     :ballerina:distDocker \