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-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new c916db9  change travis builds to publish docker images with tag 
'nightly' (#71)
c916db9 is described below

commit c916db93b3a4b93b41d6ef5f6979462f84291279
Author: David Grove <[email protected]>
AuthorDate: Sat Jun 29 14:45:01 2019 -0400

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

diff --git a/.travis.yml b/.travis.yml
index 6366af6..43abe1b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -46,7 +46,7 @@ deploy:
       condition: "${TRAVIS_TAG%@*} = dockerskeleton || ${TRAVIS_TAG%@*} = 
example"
       repo: apache/incubator-openwhisk-runtime-docker
   - provider: script
-    script: "./tools/travis/publish.sh openwhisk dockerskeleton latest && 
./tools/travis/publish.sh openwhisk example latest"
+    script: "./tools/travis/publish.sh openwhisk dockerskeleton nightly && 
./tools/travis/publish.sh openwhisk example nightly"
     on:
       branch: master
       repo: apache/incubator-openwhisk-runtime-docker
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index 23bae25..a10502e 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -48,8 +48,8 @@ if [[ ! -z ${GRADLE_BUILD} ]] && [[ ! -z ${IMAGE_PREFIX} ]] 
&& [[ ! -z ${IMAGE_T
   -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 \
     ${GRADLE_BUILD} \

Reply via email to