Skip to content

Commit

Permalink
Note: We still continue to push ${hostname}.local:latest or
Browse files Browse the repository at this point in the history
{quay.io}:latest on CI. This will be addressed as a part of
#270
  • Loading branch information
Priya Samuel committed Feb 28, 2018
1 parent 370bd91 commit 95807cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/dotmesh-server/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
# without k8s - export DISABLE_K8S=1 disables the k8s build
set -xe

VERSION="$(cd ../versioner && go run versioner.go)"

CI_DOCKER_SERVER_IMAGE=${CI_DOCKER_SERVER_IMAGE:=$(hostname).local:80/dotmesh/dotmesh-server:latest}
CI_DOCKER_PROVISIONER_IMAGE=${CI_DOCKER_PROVISIONER_IMAGE:=$(hostname).local:80/dotmesh/dotmesh-dynamic-provisioner:latest}
VERSION="$(cd ../versioner && go run versioner.go)"

if [ x$CI_DOCKER_TAG == x ]
then
# Non-CI build
CI_DOCKER_TAG=latest
CI_DOCKER_TAG=$VERSION
fi

mkdir -p target
Expand Down

0 comments on commit 95807cc

Please sign in to comment.