-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
44 lines (44 loc) · 978 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
35
36
37
38
39
40
41
42
43
44
project_name: thermite
before:
hooks:
- go mod tidy
- go mod vendor
- go build ./...
- go fmt ./...
- go vet ./...
- go test ./...
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s
- -w
goos:
- darwin
- linux
- windows
archives:
- builds:
- thermite
brews:
- tap:
owner: dollarshaveclub
name: "homebrew-public"
folder: Formula
homepage: "https://github.com/dollarshaveclub/thermite"
description: "Removes old Amazon Elastic Container Registry images that are not deployed in a Kubernetes cluster"
license: "MIT"
dockers:
-
image_templates:
- "dollarshaveclub/{{.ProjectName}}:{{.Major}}"
- "dollarshaveclub/{{.ProjectName}}:{{.Major}}.{{.Minor}}"
- "dollarshaveclub/{{.ProjectName}}:{{.Major}}.{{.Minor}}.{{.Patch}}"
- "dollarshaveclub/{{.ProjectName}}:latest"
extra_files:
- cmd/
- pkg/
- vendor/
- go.mod
- go.sum
- main.go