Skip to content

Commit

Permalink
feat:added signed releases
Browse files Browse the repository at this point in the history
Signed-off-by: KrishAryan <[email protected]>

replaced install karmor with install co-sign

Signed-off-by: KrishAryan <[email protected]>
  • Loading branch information
KrishAryan authored and daemon1024 committed Apr 25, 2024
1 parent e95c8d4 commit 5cb064e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-systemd-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: 'KubeArmor/go.mod'


- name: Install the latest LLVM toolchain
run: ./.github/workflows/install-llvm.sh

- name: Compile libbpf
run: ./.github/workflows/install-libbpf.sh
- name: Install Cosign
uses: sigstore/cosign-installer@main

- name: Install karmor
run: curl -sfL https://raw.githubusercontent.com/kubearmor/kubearmor-client/main/install.sh | sudo sh -s -- -b .
Expand Down
14 changes: 14 additions & 0 deletions KubeArmor/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ builds:
- amd64
- arm64

signs:
- cmd: cosign
env:
- COSIGN_EXPERIMENTAL=1
certificate: '${artifact}.cert'
args:
- sign-blob
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '${artifact}'
- --yes
artifacts: all
output: true

archives:
- id: "kubearmor"
builds:
Expand Down

0 comments on commit 5cb064e

Please sign in to comment.