mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-29 02:45:06 +00:00
Remove GitHub Releaser & Add app version in Helm notes (#2191)
* - remove github releaser - add app version in Helm notes Signed-off-by: Shuting Zhao <shutting06@gmail.com> * update chart var Signed-off-by: Shuting Zhao <shutting06@gmail.com>
This commit is contained in:
parent
749854c589
commit
4c99b51fb7
2 changed files with 2 additions and 44 deletions
44
.github/workflows/release.yaml
vendored
44
.github/workflows/release.yaml
vendored
|
@ -124,51 +124,9 @@ jobs:
|
|||
run: |
|
||||
make docker-publish-cli
|
||||
|
||||
create-release:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- release-init-kyverno
|
||||
- release-kyverno
|
||||
- release-kyverno-cli
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
|
||||
- name: Cache Go modules
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
- uses: creekorful/goreportcard-action@v1.0
|
||||
|
||||
- name: login to GitHub Container Registry
|
||||
run: echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v2
|
||||
with:
|
||||
version: latest
|
||||
args: release --rm-dist --debug
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
release-cli-via-krew:
|
||||
runs-on: ubuntu-latest
|
||||
needs: create-release
|
||||
needs: release-kyverno-cli
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Thank you for installing {{ .Chart.Name }} {{ .Chart.Version }} 😀
|
||||
|
||||
Your release is named {{ .Release.Name }}.
|
||||
Your release is named {{ .Release.Name }}, app version {{ .Chart.AppVersion }}
|
||||
|
||||
We have installed the "{{ .Values.podSecurityStandard }}" profile of Pod Security Standards and set them in {{ .Values.validationFailureAction }} mode.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue