This commit is contained in:
Matthias Bertschy
2023-01-18 10:19:55 +01:00
parent c011b0e99c
commit 997b4730e2
2 changed files with 11 additions and 3 deletions
@@ -67,5 +67,13 @@ jobs:
asset_path: build/ubuntu-latest/*
if: matrix.os == 'ubuntu-20.04'
publish-krew-plugin:
name: Publish Krew plugin
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Update new version in krew-index
uses: rajatjindal/krew-release-bot@v0.0.43
+3 -3
View File
@@ -20,17 +20,17 @@ spec:
matchLabels:
os: darwin
arch: amd64
{{ addURIAndSha "https://github.com/kubescape/kubescape/releases/download/{{ .TagName }}/kubescape-macos-latest" .TagName }}
{{ addURIAndSha "https://github.com/matthyx/kubescape/releases/download/{{ .TagName }}/kubescape-macos-latest.tar.gz" .TagName }}
bin: kubectl-kubescape
- selector:
matchLabels:
os: linux
arch: amd64
{{ addURIAndSha "https://github.com/kubescape/kubescape/releases/download/{{ .TagName }}/kubescape-ubuntu-latest" .TagName }}
{{ addURIAndSha "https://github.com/matthyx/kubescape/releases/download/{{ .TagName }}/kubescape-ubuntu-latest.tar.gz" .TagName }}
bin: kubectl-kubescape
- selector:
matchLabels:
os: windows
arch: amd64
{{ addURIAndSha "https://github.com/kubescape/kubescape/releases/download/{{ .TagName }}/kubescape-windows-latest" .TagName }}
{{ addURIAndSha "https://github.com/matthyx/kubescape/releases/download/{{ .TagName }}/kubescape-windows-latest.tar.gz" .TagName }}
bin: kubectl-kubescape.exe