Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit cd06863

Browse files
author
Corneil du Plessis
committed
[CI] update script for building local carvel packages.
1 parent 32ff7f1 commit cd06863

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build-carvel-package.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ fi
1717

1818
# you can launch a local docker registry using docker run -d -p 5000:5000 --name registry registry:2.7
1919
# export REPO_PREFIX="<local-machine-ip>:5000/"
20-
if [ "$REPO_PREFIX" = "" ]; then
21-
REPO_PREFIX="docker.io/"
22-
fi
20+
readonly REPO_PREFIX="${REPO_PREFIX:-docker.io/}"
2321

2422
export PACKAGE_BUNDLE_REPOSITORY="${REPO_PREFIX}springcloud/scdf-oss-package"
2523
export REPOSITORY_BUNDLE="${REPO_PREFIX}springcloud/scdf-oss-repo"

0 commit comments

Comments
 (0)