-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.goreleaser.yml
34 lines (33 loc) · 988 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
builds:
- binary: aws-oidc
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
goarch:
- amd64
- arm64
ldflags:
- "-w -s -X github.com/chanzuckerberg/aws-oidc/pkg/util.GitSha={{.Commit}} -X github.com/chanzuckerberg/aws-oidc/pkg/util.Version={{.Version}} -X github.com/chanzuckerberg/aws-oidc/pkg/util.Dirty=false -X github.com/chanzuckerberg/aws-oidc/pkg/util.Release=true"
dockers:
- dockerfile: Dockerfile
image_templates:
- docker.pkg.github.com/chanzuckerberg/aws-oidc/aws-oidc:v{{.Version}}
extra_files:
- cmd
- pkg
- go.mod
- go.sum
- main.go
release:
github:
owner: chanzuckerberg
name: aws-oidc
brews:
- description: "A command line utility tool to help generate AWS STS credentials from an OIDC application."
tap:
owner: chanzuckerberg
name: homebrew-tap
homepage: "https://github.com/chanzuckerberg/aws-oidc"
test: system "#{bin}/aws-oidc version"