1
0
Fork 0
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:
shuting 2021-01-20 14:17:39 -08:00 committed by GitHub
parent aca98d3748
commit 54d49ed412
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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