add helm ci
This commit is contained in:
parent
be2895695f
commit
7e53afe035
@ -89,13 +89,13 @@ jobs:
|
|||||||
|
|
||||||
helm-release:
|
helm-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
BINARY_NAME: helm
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Helm
|
- name: Install Helm
|
||||||
|
env:
|
||||||
|
BINARY_NAME: helm
|
||||||
run: |
|
run: |
|
||||||
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||||
|
|
||||||
@ -104,6 +104,8 @@ jobs:
|
|||||||
helm package --app-version ${VERSION#v} ${CHART_DIR}
|
helm package --app-version ${VERSION#v} ${CHART_DIR}
|
||||||
|
|
||||||
- name: Publish Chart
|
- name: Publish Chart
|
||||||
|
env:
|
||||||
|
API_TOKEN: ${{ secrets.API_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: token ${API_TOKEN}" \
|
-H "Authorization: token ${API_TOKEN}" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user