Merge pull request #1027 from fleeto/bot-update-krew-index
Update krew index when release published.
This commit is contained in:
commit
3cb1825bcc
|
@ -36,3 +36,11 @@ jobs:
|
|||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: ./kubectl-karmada-${{ matrix.goos }}-${{ matrix.goarch }}.tgz
|
||||
update-krew-index:
|
||||
needs: release-assests
|
||||
name: Update krew-index
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Update new version in krew-index
|
||||
uses: rajatjindal/krew-release-bot@v0.0.40
|
|
@ -0,0 +1,60 @@
|
|||
apiVersion: krew.googlecontainertools.github.com/v1alpha2
|
||||
kind: Plugin
|
||||
metadata:
|
||||
name: karmada
|
||||
spec:
|
||||
description: |
|
||||
Karmada (Kubernetes Armada) is a Kubernetes management system that enables
|
||||
you to run your cloud-native applications across multiple Kubernetes
|
||||
clusters and clouds, with no changes to your applications. By speaking
|
||||
Kubernetes-native APIs and providing advanced scheduling capabilities,
|
||||
Karmada enables truly open, multi-cloud Kubernetes.
|
||||
This cli tools controls a federation of Karmada clusters.
|
||||
homepage: https://github.com/karmada-io/karmada
|
||||
platforms:
|
||||
- bin: kubectl-karmada
|
||||
files:
|
||||
- from: kubectl-karmada
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
selector:
|
||||
matchLabels:
|
||||
arch: arm64
|
||||
os: linux
|
||||
{{addURIAndSha "https://github.com/karmada-io/karmada/releases/download/{{ .TagName }}/kubectl-karmada-linux-arm64.tgz" .TagName }}
|
||||
- bin: kubectl-karmada
|
||||
files:
|
||||
- from: kubectl-karmada
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
selector:
|
||||
matchLabels:
|
||||
arch: arm64
|
||||
os: darwin
|
||||
{{addURIAndSha "https://github.com/karmada-io/karmada/releases/download/{{ .TagName }}/kubectl-karmada-darwin-arm64.tgz" .TagName }}
|
||||
- bin: kubectl-karmada
|
||||
files:
|
||||
- from: kubectl-karmada
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
selector:
|
||||
matchLabels:
|
||||
arch: amd64
|
||||
os: linux
|
||||
{{addURIAndSha "https://github.com/karmada-io/karmada/releases/download/{{ .TagName }}/kubectl-karmada-linux-amd64.tgz" .TagName }}
|
||||
- bin: kubectl-karmada
|
||||
files:
|
||||
- from: kubectl-karmada
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
selector:
|
||||
matchLabels:
|
||||
arch: amd64
|
||||
os: darwin
|
||||
{{addURIAndSha "https://github.com/karmada-io/karmada/releases/download/{{ .TagName }}/kubectl-karmada-darwin-amd64.tgz" .TagName }}
|
||||
shortDescription: Manage clusters with Karmada federation.
|
||||
version: {{ .TagName }}
|
Loading…
Reference in New Issue