Skip to content

Commit

Permalink
Update krew-index on release tag
Browse files Browse the repository at this point in the history
Fixes #904

Signed-off-by: Tom Pantelis <[email protected]>
  • Loading branch information
tpantelis committed Jan 30, 2024
1 parent 1de4080 commit 57acd0d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Post Release

on:
push:
tags:
- 'v*.*.*'

jobs:
update-krew:
name: Update krew-index
if: github.repository_owner == 'submariner-io'
runs-on: ubuntu-latest
steps:
- name: Update new version in krew-index
uses: rajatjindal/[email protected]
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,3 @@ jobs:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
GITHUB_JOB_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs/${{ github.job }}
run: make do-release

- name: Update new version in krew-index
uses: rajatjindal/[email protected]

0 comments on commit 57acd0d

Please sign in to comment.