try using CR from commandline for release pipeline

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-07 13:47:31 +02:00
parent cb5ec21e15
commit 2e894599d6
2 changed files with 12 additions and 11 deletions
+1
View File
@@ -5,3 +5,4 @@ charts_repo_url: "https://truecharts.org"
excluded-charts: common-test excluded-charts: common-test
pages-branch: "master" pages-branch: "master"
SkipExisting: true SkipExisting: true
index-path: "docs/index.yaml"
+11 -11
View File
@@ -65,10 +65,6 @@ jobs:
with: with:
version: v3.5.3 version: v3.5.3
- name: install brew and chart releaser
run: |
cr --help
- name: update helm repo cache - name: update helm repo cache
run: | run: |
helm repo add truecharts https://truecharts.org helm repo add truecharts https://truecharts.org
@@ -77,13 +73,17 @@ jobs:
# HELM Release # HELM Release
- name: Run chart-releaser - name: Chart Releaser Package
uses: helm/chart-releaser-action@v1.2.1 run: |
with: cr package -c ".github/cr.yaml"
config: .github/cr.yaml
charts_dir: charts/* - name: Chart Releaser Upload
env: run: |
CR_TOKEN: "${{ secrets.BOT_TOKEN }}" cr upload -t ${{ secrets.GITHUB_TOKEN }} -c ".github/cr.yaml"
- name: Chart Releaser create index
run: |
cr index -c ".github/cr.yaml"
# SCALE Release # SCALE Release
- name: fetch dependencies - name: fetch dependencies