Remove GitHub Releaser & Add app version in Helm notes
* - remove github releaser
add app version in Helm notes
* update chart var
@@ -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
