mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 02:30:45 +00:00
Merge pull request #2447 from weaveworks/mike/scope-script/hotfix-image-name
scope script: Allow 'user' part of image name to be given by DOCKERHUB_USER env var
This commit is contained in:
3
scope
3
scope
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user