openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgr...@apache.org
Subject [incubator-openwhisk-package-alarms] 01/02: change travis builds to publish docker images with tag 'nightly'
Date Sat, 29 Jun 2019 22:42:39 GMT
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-alarms.git

commit d5db5eab8266396c82534a30dd3efadea2c7919d
Author: David Grove <groved@us.ibm.com>
AuthorDate: Fri Jun 28 12:44:51 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 aeb9b91..fc17d9e 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 alarmprovider latest
+    script: ./tools/travis/deploy.sh openwhisk alarmprovider nightly
     on:
       branch: master
   # deploy tag
diff --git a/tools/travis/deploy.sh b/tools/travis/deploy.sh
index 9f1389d..b95f85e 100755
--- a/tools/travis/deploy.sh
+++ b/tools/travis/deploy.sh
@@ -31,8 +31,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}"
 


Mime
View raw message