Skip to content

Commit

Permalink
Merge pull request #1739 from KrishAryan/signed-releases
Browse files Browse the repository at this point in the history
feat:added signed releases
  • Loading branch information
daemon1024 authored Apr 25, 2024
2 parents e95c8d4 + 5cb064e commit 82a4a0c
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 82a4a0c

Please sign in to comment.