This commit is contained in:
Matthias Bertschy
2023-01-18 09:13:36 +01:00
parent c011b0e99c
commit 3d608676e3
2 changed files with 7 additions and 3 deletions

View File

@@ -67,5 +67,9 @@ jobs:
asset_path: build/ubuntu-latest/*
if: matrix.os == 'ubuntu-20.04'
publish-krew-plugin:
name: Publish Krew plugin
runs-on: ubuntu-latest
steps:
- name: Update new version in krew-index
uses: rajatjindal/krew-release-bot@v0.0.43

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