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:51:59 UTC
[incubator-openwhisk-runtime-swift] branch master updated: change
travis builds to publish docker images with tag 'nightly' (#97)
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-swift.git
The following commit(s) were added to refs/heads/master by this push:
new 6e1f86a change travis builds to publish docker images with tag 'nightly' (#97)
6e1f86a is described below
commit 6e1f86abcdb79ad21bd9e787579ca94576897526
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Sat Jun 29 17:51:55 2019 -0400
change travis builds to publish docker images with tag 'nightly' (#97)
---
.travis.yml | 2 +-
tools/travis/publish.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 8bad98b..320c0f6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,7 +43,7 @@ deploy:
all_branches: true
repo: apache/incubator-openwhisk-runtime-swift
- provider: script
- script: "./tools/travis/publish.sh openwhisk 4.1 latest && ./tools/travis/publish.sh openwhisk 4.2 latest"
+ script: "./tools/travis/publish.sh openwhisk 4.1 nightly && ./tools/travis/publish.sh openwhisk 4.2 nightly"
on:
branch: master
repo: apache/incubator-openwhisk-runtime-swift
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index dc25183..8f7058f 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -49,8 +49,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 \