This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-runtime-rust.git
The following commit(s) were added to refs/heads/master by this push:
new 51658e4 change travis to use `nightly` tag for dockerhub (#12)
51658e4 is described below
commit 51658e42d33a20c23b7d0525076baa3423363aaa
Author: David Grove <[email protected]>
AuthorDate: Mon Jul 1 17:08:44 2019 -0400
change travis to use `nightly` tag for dockerhub (#12)
---
.travis.yml | 2 +-
tools/travis/publish.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 6572f2c..ed559d5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,7 +25,7 @@ deploy:
repo: apache/incubator-openwhisk-runtime-rust
- provider: script
skip_cleanup: true
- script: "./tools/travis/publish.sh openwhisk rust1.34 latest"
+ script: "./tools/travis/publish.sh openwhisk rust1.34 nightly"
on:
branch: master
repo: apache/incubator-openwhisk-runtime-rust
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index 93da2b1..d38aed9 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -35,8 +35,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 \