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/28 20:15:43 UTC

[incubator-openwhisk-deploy-kube] branch master updated: change travis builds to publish docker images with tag 'nightly' (#486)

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-deploy-kube.git


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

commit 92a1d725d18d5e5cc6637b15a744b88feb88e056
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Fri Jun 28 16:15:39 2019 -0400

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

diff --git a/tools/travis/publish-images.sh b/tools/travis/publish-images.sh
index f4963d5..7f1b789 100755
--- a/tools/travis/publish-images.sh
+++ b/tools/travis/publish-images.sh
@@ -24,4 +24,4 @@ ROOTDIR="$SCRIPTDIR/../../"
 cd $ROOTDIR
 
 echo "Publishing kube-invoker-agent image"
-./tools/travis/publish.sh openwhisk kube-invoker-agent latest docker/invoker-agent
+./tools/travis/publish.sh openwhisk kube-invoker-agent nightly docker/invoker-agent
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index f577c6c..8e2deda 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -28,7 +28,7 @@ docker login -u "${DOCKER_USER}" -p "${DOCKER_PASSWORD}"
 docker build ${dir_to_build} --tag ${dockerhub_image}
 docker push ${dockerhub_image}
 
-if [ ${dockerhub_image_tag} == "latest" ]; then
+if [ ${dockerhub_image_tag} == "nightly" ]; then
     short_commit=`git rev-parse --short HEAD`
     dockerhub_image_alias="${dockerhub_image_prefix}/${dockerhub_image_name}:${short_commit}"
     docker tag ${dockerhub_image} ${dockerhub_image_alias}