-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build windows and freebsd and packages
- Loading branch information
Showing
1 changed file
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ builds: | |
goos: | ||
- linux | ||
- darwin | ||
- freebsd | ||
- windows | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
|
@@ -15,6 +17,30 @@ builds: | |
- "-X github.com/nsmith5/rekor-sidekick/cli.commit={{.FullCommit}}" | ||
- "-X github.com/nsmith5/rekor-sidekick/cli.date={{.CommitDate}}" | ||
|
||
nfpms: | ||
- id: default | ||
package_name: rekor-sidekick | ||
vendor: Nathan Smith | ||
homepage: https://www.nfsmith.ca | ||
maintainer: Nathan Smith <[email protected]> | ||
description: Alerting and monitoring of the Rekor signature transparency log | ||
formats: | ||
- apk | ||
- deb | ||
- rpm | ||
contents: | ||
- src: etc/config.yaml | ||
dst: /etc/rekor-sidekick/config.yaml | ||
type: config|noreplace | ||
- dst: /etc/rekor-sidekick | ||
type: dir | ||
file_info: | ||
mode: 0755 | ||
|
||
archives: | ||
- id: binary | ||
format: binary | ||
|
||
gomod: | ||
proxy: true | ||
|
||
|
@@ -25,19 +51,21 @@ source: | |
enabled: true | ||
|
||
sboms: | ||
- artifacts: archive | ||
- id: source # Two different sbom configurations need two different IDs | ||
artifacts: source | ||
- id: binaries | ||
artifacts: binary | ||
- id: packages | ||
artifacts: package | ||
|
||
signs: | ||
- cmd: cosign | ||
env: | ||
- COSIGN_EXPERIMENTAL=1 | ||
certificate: '${artifact}.pem' | ||
signature: '${artifact}.sig' | ||
args: | ||
- sign-blob | ||
- '--output-certificate=${certificate}' | ||
- '--output-signature=${signature}' | ||
- '${artifact}' | ||
artifacts: checksum | ||
artifacts: binary | ||
output: true |