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:46:53 UTC
[incubator-openwhisk-runtime-go] branch master updated: change
travis builds to publish docker images with tag 'nightly' (#96)
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-go.git
The following commit(s) were added to refs/heads/master by this push:
new 946e940 change travis builds to publish docker images with tag 'nightly' (#96)
946e940 is described below
commit 946e9402f1c841fac326ca0a4d4ab101afd121b7
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Sat Jun 29 18:46:49 2019 -0400
change travis builds to publish docker images with tag 'nightly' (#96)
---
.travis.yml | 4 ++--
tools/travis/publish.sh | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 114504f..83fbb52 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,13 +39,13 @@ deploy:
repo: apache/incubator-openwhisk-runtime-go
- provider: script
skip_cleanup: true
- script: "./tools/travis/publish.sh openwhisk actionloop latest"
+ script: "./tools/travis/publish.sh openwhisk actionloop nightly"
on:
branch: master
repo: apache/incubator-openwhisk-runtime-go
- provider: script
skip_cleanup: true
- script: "./tools/travis/publish.sh openwhisk 1.11 latest && ./tools/travis/publish.sh openwhisk 1.12 latest"
+ script: "./tools/travis/publish.sh openwhisk 1.11 nightly && ./tools/travis/publish.sh openwhisk 1.12 nightly"
on:
branch: master
repo: apache/incubator-openwhisk-runtime-go
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index 2e9170c..57e7cbe 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -43,8 +43,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 \
:${RUNTIME}:distDocker \