Skip to content

Merge pull request #325 from rook/dependabot/go_modules/k8s-dependenc… #21

Merge pull request #325 from rook/dependabot/go_modules/k8s-dependenc…

Merge pull request #325 from rook/dependabot/go_modules/k8s-dependenc… #21

Workflow file for this run

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]