Skip to content

Commit

Permalink
brew: Add goreleaser configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
christophetd committed Jan 19, 2022
1 parent 5250b8c commit 6d29833
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,23 @@ builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
#- linux
#- windows
- darwin
ldflags:
- -X main.BuildVersion={{.Version}}

dir: cmd/stratus
binary: stratus
dockers:
- image_templates:
- "ghcr.io/datadog/stratus-red-team:latest"
- "ghcr.io/datadog/stratus-red-team:v{{ .Version }}"
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
brews:
- name: stratus-red-team
tap:
owner: datadog
name: stratus-red-team
folder: Formula
url_template: "https://github.com/DataDog/stratus-red-team/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
license: Apache-2.0
homepage: "https://stratus-red-team.cloud"
archives:
- replacements:
darwin: Darwin
Expand Down

0 comments on commit 6d29833

Please sign in to comment.