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:56:08 UTC
[incubator-openwhisk-runtime-php] branch master updated: change
travis builds to publish docker images with tag 'nightly' (#63)
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-php.git
The following commit(s) were added to refs/heads/master by this push:
new 4e96e30 change travis builds to publish docker images with tag 'nightly' (#63)
4e96e30 is described below
commit 4e96e30ba2b585767db17f56831764ecaeff587c
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Sat Jun 29 17:56:04 2019 -0400
change travis builds to publish docker images with tag 'nightly' (#63)
---
.travis.yml | 6 +++---
tools/travis/publish.sh | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 92f0af4..114d45a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -41,17 +41,17 @@ deploy:
all_branches: true
repo: apache/incubator-openwhisk-runtime-php
- provider: script
- script: "./tools/travis/publish.sh openwhisk 7.1 latest"
+ script: "./tools/travis/publish.sh openwhisk 7.1 nightly"
on:
branch: master
repo: apache/incubator-openwhisk-runtime-php
- provider: script
- script: "./tools/travis/publish.sh openwhisk 7.2 latest"
+ script: "./tools/travis/publish.sh openwhisk 7.2 nightly"
on:
branch: master
repo: apache/incubator-openwhisk-runtime-php
- provider: script
- script: "./tools/travis/publish.sh openwhisk 7.3 latest"
+ script: "./tools/travis/publish.sh openwhisk 7.3 nightly"
on:
branch: master
repo: apache/incubator-openwhisk-runtime-php
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index 42e37ef..5b74844 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -41,8 +41,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:php${RUNTIME_VERSION}Action:distDocker \