mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
update GitHub Action release process
This commit is contained in:
parent
ff8111bc47
commit
023f5aa46a
1 changed files with 15 additions and 7 deletions
20
.github/workflows/release.yaml
vendored
20
.github/workflows/release.yaml
vendored
|
@ -67,18 +67,26 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Update new version in krew-index
|
||||||
|
uses: rajatjindal/krew-release-bot@v0.0.38
|
||||||
|
|
||||||
publish-helm:
|
publish-helm:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Unshallow
|
||||||
|
run: git fetch --prune --unshallow
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: 1.14
|
||||||
|
|
||||||
- uses: J12934/helm-gh-pages-action@master
|
- uses: J12934/helm-gh-pages-action@master
|
||||||
name: Run Helm Publish
|
name: Run Helm Publish
|
||||||
with:
|
with:
|
||||||
access-token: ${{ secrets.GITHUB_TOKEN }}
|
access-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
deploy-branch: gh-pages
|
deploy-branch: gh-pages
|
||||||
charts-folder: charts
|
charts-folder: charts
|
||||||
|
|
||||||
publish-cli-via-krew:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Update new version in krew-index
|
|
||||||
uses: rajatjindal/krew-release-bot@v0.0.38
|
|
Loading…
Add table
Reference in a new issue