Skip to content

Commit

Permalink
Merge pull request #1741 from kranurag7/kr/update-systemd-release-wor…
Browse files Browse the repository at this point in the history
…kflow

fix systemd release workflow on main
  • Loading branch information
daemon1024 authored Apr 27, 2024
2 parents 82a4a0c + b083cbb commit d0f8a80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci-systemd-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:
- "*"

# Declare default permissions as read only.
permissions: read-all
permissions:
id-token: write # requires for cosign keyless signing
contents: write # requires for goreleaser to write to GitHub release

jobs:
goreleaser:
Expand Down Expand Up @@ -41,11 +43,11 @@ jobs:
working-directory: KubeArmor/BPF

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: v1.25.0
args: release --rm-dist
args: release --clean
workdir: KubeArmor
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 1 addition & 3 deletions KubeArmor/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ builds:

signs:
- cmd: cosign
env:
- COSIGN_EXPERIMENTAL=1
certificate: '${artifact}.cert'
args:
- sign-blob
Expand Down Expand Up @@ -95,4 +93,4 @@ nfpms:
- llvm
- kernel-devel
- policycoreutils-devel
- setools-console
- setools-console

0 comments on commit d0f8a80

Please sign in to comment.