Skip to content

Commit

Permalink
updated helm-package.sh to set registry
Browse files Browse the repository at this point in the history
  • Loading branch information
jgz committed Sep 26, 2021
1 parent b0bf698 commit 6df4d30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@

local.sh
2 changes: 2 additions & 0 deletions scripts/helm-package.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh
. ../release.config
REGISTRY="$REGISTRY/"

TMPDIR=/tmp/helm-package/$PROJECT_NAME
mkdir -p $TMPDIR
Expand All @@ -8,6 +9,7 @@ cp -r ../chart/* $TMPDIR
sed -i "s/PROJECT_NAME/$PROJECT_NAME/g" $TMPDIR/values.yaml
sed -i "s/REPO/$REPO/g" $TMPDIR/values.yaml
sed -i "s/PROJECT_HOST/$PROJECT_HOST/g" $TMPDIR/values.yaml
sed -i "s?REGISTRY?$REGISTRY?g" $TMPDIR/values.yaml

sed -i "s/PROJECT_NAME/$PROJECT_NAME/g" $TMPDIR/Chart.yaml
sed -i "s/RELEASE_VERSION/$RELEASE_VERSION/g" $TMPDIR/Chart.yaml
Expand Down

0 comments on commit 6df4d30

Please sign in to comment.