We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32ff7f1 commit cd06863Copy full SHA for cd06863
build-carvel-package.sh
@@ -17,9 +17,7 @@ fi
17
18
# you can launch a local docker registry using docker run -d -p 5000:5000 --name registry registry:2.7
19
# export REPO_PREFIX="<local-machine-ip>:5000/"
20
-if [ "$REPO_PREFIX" = "" ]; then
21
- REPO_PREFIX="docker.io/"
22
-fi
+readonly REPO_PREFIX="${REPO_PREFIX:-docker.io/}"
23
24
export PACKAGE_BUNDLE_REPOSITORY="${REPO_PREFIX}springcloud/scdf-oss-package"
25
export REPOSITORY_BUNDLE="${REPO_PREFIX}springcloud/scdf-oss-repo"
0 commit comments