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:54:44 UTC
[incubator-openwhisk-runtime-ruby] branch master updated: change
travis builds to publish docker images with tag 'nightly' (#27)
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-ruby.git
The following commit(s) were added to refs/heads/master by this push:
new 79c5c29 change travis builds to publish docker images with tag 'nightly' (#27)
79c5c29 is described below
commit 79c5c29910fbc59962d2f8011c80971bad2317b8
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Sat Jun 29 17:54:40 2019 -0400
change travis builds to publish docker images with tag 'nightly' (#27)
---
.travis.yml | 2 +-
tools/travis/publish.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 4b0ae18..73335d2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,7 +36,7 @@ deploy:
all_branches: true
repo: apache/incubator-openwhisk-runtime-ruby
- provider: script
- script: "./tools/travis/publish.sh openwhisk 2.5 latest && ./tools/travis/publish.sh openwhisk 2.6 latest"
+ script: "./tools/travis/publish.sh openwhisk 2.5 nightly && ./tools/travis/publish.sh openwhisk 2.6 nightly"
on:
branch: master
repo: apache/incubator-openwhisk-runtime-ruby
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index 4d0330b..965d4b9 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -47,8 +47,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 \