You've already forked nginx_exporter
mirror of
https://github.com/nginxinc/nginx-prometheus-exporter.git
synced 2025-07-30 10:03:04 +03:00
Add SBOMs to release (#274)
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -114,6 +114,8 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
- name: Download Syft
|
||||
uses: anchore/sbom-action/download-syft@v0.11.0
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v3
|
||||
with:
|
||||
|
@ -2,6 +2,7 @@ before:
|
||||
hooks:
|
||||
- go mod tidy
|
||||
- go mod verify
|
||||
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
@ -32,14 +33,21 @@ builds:
|
||||
- all=-trimpath={{.Env.GOPATH}}
|
||||
asmflags:
|
||||
- all=-trimpath={{.Env.GOPATH}}
|
||||
|
||||
sboms:
|
||||
- artifacts: archive
|
||||
|
||||
archives:
|
||||
- format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
|
||||
checksum:
|
||||
name_template: 'sha256sums.txt'
|
||||
|
||||
changelog:
|
||||
skip: true
|
||||
|
||||
brews:
|
||||
- tap:
|
||||
owner: nginxinc
|
||||
|
Reference in New Issue
Block a user