Skip to content

Commit

Permalink
combine helm release with gh release
Browse files Browse the repository at this point in the history
  • Loading branch information
realshuting committed Nov 24, 2020
1 parent 971a752 commit 276e863
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ jobs:
echo ">>> Run Kyverno e2e test"
make test-e2e
create-release:
create-release-gh-helm-krew:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Unshallow
run: git fetch --prune --unshallow
Expand All @@ -67,17 +69,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update new version in krew-index
uses: rajatjindal/[email protected]

publish-helm:
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"
Expand All @@ -91,4 +82,7 @@ jobs:
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Update new version in krew-index
uses: rajatjindal/[email protected]

0 comments on commit 276e863

Please sign in to comment.