Skip to content

Commit

Permalink
Add releaser
Browse files Browse the repository at this point in the history
Signed-off-by: Yutaro Hayakawa <[email protected]>
  • Loading branch information
YutaroHayakawa committed Feb 11, 2024
1 parent 72d9fc1 commit 041edb6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/go-ossf-slsa3-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: SLSA Go releaser
on:
workflow_dispatch:
release:
types: [created]

permissions: read-all

jobs:
build:
permissions:
id-token: write # To sign.
contents: write # To upload release assets.
actions: read # To read workflow path.
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
go-version: 1.21
6 changes: 6 additions & 0 deletions .slsa-goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 1
env:
- CGO_ENABLED=0
goos: linux
goarch: amd64
binary: bpfib-{{ .Os }}-{{ .Arch }}

0 comments on commit 041edb6

Please sign in to comment.