File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -148,27 +148,28 @@ jobs:
148148 - name : Download existed repo files
149149 run : |
150150 sed -i "s#tag: latest#tag: ${{ env.iast_version }}#g" deploy/kubernetes/helm/values.yaml
151+
151152 - name : Upload COS php
152153153154 with :
154- args : download -rs iast/ ~/helm/repo/ --ignore "index .yaml"
155+ args : download -rs iast/ /github/workspace/cos --ignore "* .yaml"
155156 secret_id : ${{ secrets.TENSECRET_ID }}
156157 secret_key : ${{ secrets.TENSECRET_KEY }}
157158 bucket : dongtai-helm-charts-1251882848
158159 region : ap-hongkong
159-
160+
160161 - name : Create helm package
161162 run : |
162- ls ~/helm/repo
163- helm package deploy/kubernetes/helm -d ~/helm/repo --app-version ${{ env.iast_version }} --version ${{ env.iast_version }}
164- ls ~/ helm/repo
165- helm repo index ~/helm/repo/ --url ${{ secrets.DONGTAI_IAST_CHART_REPO_URL }}
163+ ls -lh /home/runner/work/DongTai/DongTai/
164+ ls -lh /home/runner/work/DongTai/DongTai/cos
165+ sudo helm package deploy/kubernetes/ helm -d /home/runner/work/DongTai/DongTai/cos --app-version ${{ env.iast_version }} --version ${{ env.iast_version }}
166+ sudo helm repo index /home/runner/work/DongTai/DongTai/cos --url ${{ secrets.DONGTAI_IAST_CHART_REPO_URL }}
166167
167168
168169 - name : Upload COS 2
169170170171 with :
171- args : upload -rs ~/helm/repo/ dongtai-iast-${{ env.iast_version }}.tgz /iast/ && upload -rs ~/helm/repo /index.yaml /iast/
172+ args : upload -rs /github/workspace/cos/ dongtai-iast-${{ env.iast_version }}.tgz /iast/ && upload -rs /github/workspace/cos /index.yaml /iast/
172173 secret_id : ${{ secrets.TENSECRET_ID }}
173174 secret_key : ${{ secrets.TENSECRET_KEY }}
174175 bucket : dongtai-helm-charts-1251882848
You can’t perform that action at this time.
0 commit comments