This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shardingsphere-on-cloud.git

commit 4847a439d901715338b3a02edb93dcc9210d64a1
Author: Ghoul_Lee <[email protected]>
AuthorDate: Wed Jul 20 17:25:00 2022 +0800

    feat(ci): add a new ci to auto release helm  (#17)
    
    * feat(helm): add a ci to auto release helm charts
    
    Signed-off-by: windghoul <[email protected]>
    
    * fix(ci): add a new line
    
    Signed-off-by: windghoul <[email protected]>
    
    * fix(ci): add license
    
    Signed-off-by: windghoul <[email protected]>
    
    * fix(ci): add license
    
    Signed-off-by: windghoul <[email protected]>
---
 .github/workflows/helm-release.yaml | 43 +++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/.github/workflows/helm-release.yaml 
b/.github/workflows/helm-release.yaml
new file mode 100644
index 0000000..31064c8
--- /dev/null
+++ b/.github/workflows/helm-release.yaml
@@ -0,0 +1,43 @@
+##
+## Copyright 2022 SphereEx Authors
+##
+## Licensed under the Apache License, Version 2.0 (the "License");
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##
+
+name: Release Charts
+
+on:
+  push:
+    branches:
+      - main
+      - release**
+
+jobs:
+  release:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
+
+      - name: Configure Git
+        run: |
+          git config user.name "$GITHUB_ACTOR"
+          git config user.email "[email protected]"
+
+      - name: Run chart-releaser
+        uses: helm/[email protected]
+        env:
+          CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+

Reply via email to