Skip to content

Commit

Permalink
use krew release bot
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolas committed Oct 14, 2020
1 parent 12c53aa commit 187f894
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ jobs:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update new version in krew-index
uses: rajatjindal/krew-release-bot@v0.0.38
23 changes: 20 additions & 3 deletions .krew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Plugin
metadata:
name: view-cert
spec:
version: v0.0.0
version: {{ .TagName }}
homepage: https://github.com/lmolas/kubectl-view-cert
shortDescription: View certificate information stored in secrets
description: |
Expand All @@ -14,6 +14,23 @@ spec:
matchLabels:
os: darwin
arch: amd64
uri: https://github.com/lmolas/kubectl-view-cert/releases/download/v0.0.1/kubectl-view-cert_v0.0.1.darwin_amd64.tar.gz
sha256: ac7305dcab0913945f2edb32e804673cc38bf7eceef0409bd595f603fe8e20f8
{{addURIAndSha "https://github.com/lmolas/kubectl-view-cert/releases/download/{{ .TagName }}/kubectl-view-cert_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
bin: kubectl-view-cert
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/lmolas/kubectl-view-cert/releases/download/{{ .TagName }}/kubectl-view-cert_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
bin: kubectl-view-cert
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/lmolas/kubectl-view-cert/releases/download/{{ .TagName }}/kubectl-view-cert_{{ .TagName }}_linux_arm64.tar.gz" .TagName }}
bin: kubectl-view-cert
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/lmolas/kubectl-view-cert/releases/download/{{ .TagName }}/kubectl-view-cert_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}
bin: kubectl-view-cert.exe

0 comments on commit 187f894

Please sign in to comment.