forked from kubernetes-sigs/aws-iam-authenticator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
67 lines (62 loc) · 2.21 KB
/
.goreleaser.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Configuration for https://goreleaser.com/
project_name: authenticator
builds:
- binary: aws-iam-authenticator
main: ./cmd/aws-iam-authenticator/
goos:
- darwin
- linux
- windows
goarch:
- amd64
env:
- CGO_ENABLED=0
ldflags:
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
dockers:
- binaries:
- aws-iam-authenticator
dockerfile: Dockerfile.scratch
image_templates:
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-scratch"
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}"
- binaries:
- aws-iam-authenticator
dockerfile: Dockerfile.alpine-3.6
image_templates:
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-alpine-3.6"
- binaries:
- aws-iam-authenticator
dockerfile: Dockerfile.alpine-3.7
image_templates:
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-alpine-3.7"
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-alpine"
- binaries:
- aws-iam-authenticator
dockerfile: Dockerfile.debian-jessie
image_templates:
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-debian-jessie"
- binaries:
- aws-iam-authenticator
dockerfile: Dockerfile.debian-stretch
image_templates:
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-debian-stretch"
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-debian"
- binaries:
- aws-iam-authenticator
dockerfile: Dockerfile.amazonlinux-2
image_templates:
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-amazonlinux-2"
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-amazonlinux"
snapshot:
name_template: "git-{{.ShortCommit}}"
archives:
- id: bin
format: binary
release:
github:
owner: kubernetes-sigs
name: aws-iam-authenticator
draft: true
prerelease: false
name_template: "v{{.Version}}"