Merge pull request #325 from rook/dependabot/go_modules/k8s-dependenc… #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Plugin | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
Release-Plugin-At-Krew-Index: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: setup golang | |
uses: ./.github/workflows/set-up-go | |
- name: GoReleaser | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
version: latest | |
args: release --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# krew-release-bot is a bot that automates the update of plugin manifests in krew-index when a new version of your kubectl plugin is released. | |
# https://github.com/rajatjindal/krew-release-bot | |
- name: Update new version in krew-index | |
uses: rajatjindal/[email protected] |