Skip to content

Commit

Permalink
only build macos
Browse files Browse the repository at this point in the history
  • Loading branch information
SemProvoost committed Nov 26, 2024
1 parent cd7eb57 commit 854355e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 95 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/release-test.yaml

This file was deleted.

53 changes: 0 additions & 53 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,6 @@ version: 2

project_name: trivy
builds:
- id: build-linux
main: ./cmd/trivy/
binary: trivy
ldflags:
- -s -w
- "-extldflags '-static'"
- -X github.com/aquasecurity/trivy/pkg/version/app.ver={{.Version}}
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- 386
- arm
- amd64
- arm64
- s390x
- ppc64le
goarm:
- 7
- id: build-bsd
main: ./cmd/trivy/
binary: trivy
ldflags:
- -s -w
- "-extldflags '-static'"
- -X github.com/aquasecurity/trivy/pkg/version/app.ver={{.Version}}
env:
- CGO_ENABLED=0
goos:
- freebsd
goarch:
# modernc.org/sqlite doesn't support freebsd/arm64, etc.
- 386
- amd64
- id: build-macos
main: ./cmd/trivy/
binary: trivy
Expand All @@ -53,26 +18,8 @@ builds:
- arm64
goarm:
- 7
- id: build-windows
main: ./cmd/trivy/
binary: trivy
ldflags:
- -s -w
- "-extldflags '-static'"
- -X github.com/aquasecurity/trivy/pkg/version/app.ver={{.Version}}
env:
- CGO_ENABLED=0
goos:
- windows
goarch:
# modernc.org/sqlite doesn't support windows/386 and windows/arm, etc.
- amd64
goarm:
- 7

release:
extra_files:
- glob: ./bom.json
discussion_category_name: Announcements

nfpms:
Expand Down

0 comments on commit 854355e

Please sign in to comment.