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-package-cloudant.git

commit bc55aee6d4a0f9bab63c7b1434a3c17db50050ec
Author: David Grove <gro...@us.ibm.com>
AuthorDate: Fri Jun 28 12:47:18 2019 -0400

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

diff --git a/.travis.yml b/.travis.yml
index 87941d0..fbfa682 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,9 +43,9 @@ script:
   - ./tools/travis/build.sh
 
 deploy:
-  # deploy latest
+  # deploy nightly
   - provider: script
-    script: ./tools/travis/deploy.sh openwhisk cloudantprovider latest
+    script: ./tools/travis/deploy.sh openwhisk cloudantprovider nightly
     on:
       branch: master
   # deploy tag
diff --git a/tools/travis/deploy.sh b/tools/travis/deploy.sh
index c4f0eb4..39b771a 100755
--- a/tools/travis/deploy.sh
+++ b/tools/travis/deploy.sh
@@ -18,8 +18,8 @@ docker build . --tag ${dockerhub_image}
 echo docker push ${dockerhub_image}
 docker push ${dockerhub_image}
 
-# if image tag is latest, also push a tag with the hash commit
-if [ ${dockerhub_image_tag} == "latest" ]; then
+# if image tag is nightly, also push a tag with the hash commit
+if [ ${dockerhub_image_tag} == "nightly" ]; then
   short_commit=`git rev-parse --short HEAD`
   
dockerhub_githash_image="${dockerhub_image_prefix}/${dockerhub_image_name}:${short_commit}"
 

Reply via email to