Skip to content

Commit

Permalink
Merge pull request #2447 from weaveworks/mike/scope-script/hotfix-ima…
Browse files Browse the repository at this point in the history
…ge-name

scope script: Allow 'user' part of image name to be given by DOCKERHUB_USER env var
  • Loading branch information
ekimekim authored Apr 17, 2017
2 parents c07c615 + b51385d commit e8ecfe1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scope
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ else
IMAGE_VERSION="$SCRIPT_VERSION"
fi
IMAGE_VERSION=${VERSION:-$IMAGE_VERSION}
SCOPE_IMAGE_NAME=weaveworks/scope
DOCKERHUB_USER=${DOCKERHUB_USER:-weaveworks}
SCOPE_IMAGE_NAME="$DOCKERHUB_USER/scope"
SCOPE_IMAGE="$SCOPE_IMAGE_NAME:$IMAGE_VERSION"
# Careful: it's easy to operate on (e.g. stop) the wrong scope instance
# when SCOPE{_APP,}_CONTAINER_NAME values differ between runs. Handle
Expand Down

0 comments on commit e8ecfe1

Please sign in to comment.