mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-29 02:45:06 +00:00
revet GitHub action change for krew (#1484)
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
This commit is contained in:
parent
aca98d3748
commit
54d49ed412
1 changed files with 5 additions and 4 deletions
9
.github/workflows/krew.yaml
vendored
9
.github/workflows/krew.yaml
vendored
|
@ -1,8 +1,10 @@
|
|||
name: release kyverno-cli plugin
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
- '!v*-rc*'
|
||||
|
||||
jobs:
|
||||
release-cli-via-krew:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -14,5 +16,4 @@ jobs:
|
|||
run: git fetch --prune --unshallow
|
||||
|
||||
- name: Update new version in krew-index
|
||||
if: "!github.event.release.prerelease"
|
||||
uses: rajatjindal/krew-release-bot@v0.0.38
|
||||
|
|
Loading…
Add table
Reference in a new issue