Skip to content

Commit

Permalink
chore: Fixed krew template
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed Oct 8, 2024
1 parent 712ea17 commit 2bb1065
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@ jobs:
asset-name: kubectl-cs-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz
file: kubectl-cs.tar.gz

update-krew:
runs-on: ubuntu-latest
steps:
- name: Update new version in krew-index
uses: rajatjindal/[email protected]
12 changes: 6 additions & 6 deletions .krew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,37 @@ spec:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-darwin-amd64.tar.gz" .TagName }}
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-darwin-amd64.tar.gz" .TagName | indent 6}}
bin: kubectl-cs
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-darwin-arm64.tar.gz" .TagName }}
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-darwin-arm64.tar.gz" .TagName | indent 6 }}
bin: kubectl-cs
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-windows-amd64.tar.gz" .TagName }}
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-windows-amd64.tar.gz" .TagName | indent 6 }}
bin: kubectl-cs
- selector:
matchLabels:
os: windows
arch: arm64
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-windows-arm64.tar.gz" .TagName }}
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-windows-arm64.tar.gz" .TagName | indent 6 }}
bin: kubectl-cs
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-linux-amd64.tar.gz" .TagName }}
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-linux-amd64.tar.gz" .TagName | indent 6 }}
bin: kubectl-cs
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-linux-arm64.tar.gz" .TagName }}
{{addURIAndSha "https://github.com/dodevops/kc/releases/download/{{ .TagName }}/kubectl-cs-linux-arm64.tar.gz" .TagName | indent 6 }}
bin: kubectl-cs
shortDescription: Quick Kubernetes context switcher
description: |
Expand Down

0 comments on commit 2bb1065

Please sign in to comment.