Skip to content

Commit

Permalink
Merge pull request #13 from chuntaojun/feat_deploy
Browse files Browse the repository at this point in the history
ci:update release yml
  • Loading branch information
chuntaojun authored Sep 13, 2022
2 parents 91d5400 + bcf0b0c commit ecb6cba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
mkdir ${DIR_NAME}
pushd ${DIR_NAME}
cp ../kubernetes/* ./
sed -i "s/##LIMITER_SERVER_VERSION##/${SERVER_VERSION}/g" 1-polaris-limiter-statefulset.yaml
popd
PACKAGE_NAME=${DIR_NAME}.zip
zip -r ${PACKAGE_NAME} ${DIR_NAME}
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/1-polaris-limiter-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
app: polaris-limiter
spec:
containers:
- image: polarismesh/polaris-limiter:latest
- image: polarismesh/polaris-limiter:##LIMITER_SERVER_VERSION##
imagePullPolicy: Always
name: polaris-limiter
resources:
Expand Down

0 comments on commit ecb6cba

Please sign in to comment.