mirror of
https://github.com/ddworken/hishtory.git
synced 2025-04-17 14:08:32 +02:00
Add netbsd binary for #87
This commit is contained in:
parent
908995afdc
commit
ac5131fe4b
15
.github/slsa/.slsa-goreleaser-netbsd-amd64.yml
vendored
Normal file
15
.github/slsa/.slsa-goreleaser-netbsd-amd64.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
version: 1
|
||||
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
|
||||
flags:
|
||||
- -trimpath
|
||||
|
||||
goos: netbsd
|
||||
goarch: amd64
|
||||
|
||||
binary: hishtory-{{ .Os }}-{{ .Arch }}
|
||||
|
||||
ldflags:
|
||||
- '{{ .Env.VERSION_LDFLAGS }}'
|
12
.github/workflows/slsa-releaser.yml
vendored
12
.github/workflows/slsa-releaser.yml
vendored
@ -71,6 +71,18 @@ jobs:
|
||||
go-version: 1.18
|
||||
evaluated-envs: "VERSION_LDFLAGS:${{needs.args.outputs.ldflags}}"
|
||||
compile-builder: true # See github.com/slsa-framework/slsa-github-generator/issues/942
|
||||
build-netbsd-amd64:
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: write
|
||||
actions: read
|
||||
needs: args
|
||||
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.2.1
|
||||
with:
|
||||
config-file: .github/slsa/.slsa-goreleaser-netbsd-amd64.yml
|
||||
go-version: 1.18
|
||||
evaluated-envs: "VERSION_LDFLAGS:${{needs.args.outputs.ldflags}}"
|
||||
compile-builder: true # See github.com/slsa-framework/slsa-github-generator/issues/942
|
||||
build-darwin-amd64:
|
||||
permissions:
|
||||
id-token: write
|
||||
|
Loading…
Reference in New Issue
Block a user