forked from kubernetes-sigs/aws-iam-authenticator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
60 lines (55 loc) · 1.63 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
# 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:
- image: 894847497797.dkr.ecr.us-west-2.amazonaws.com/aws-iam-authenticator
binary: aws-iam-authenticator
dockerfile: Dockerfile.scratch
tag_templates:
- "{{ .Tag }}-scratch"
- "{{ .Tag }}"
- image: 894847497797.dkr.ecr.us-west-2.amazonaws.com/aws-iam-authenticator
binary: aws-iam-authenticator
dockerfile: Dockerfile.alpine-3.6
tag_templates:
- "{{ .Tag }}-alpine-3.6"
- image: 894847497797.dkr.ecr.us-west-2.amazonaws.com/aws-iam-authenticator
binary: aws-iam-authenticator
dockerfile: Dockerfile.alpine-3.7
tag_templates:
- "{{ .Tag }}-alpine-3.7"
- "{{ .Tag }}-alpine"
- image: 894847497797.dkr.ecr.us-west-2.amazonaws.com/aws-iam-authenticator
binary: aws-iam-authenticator
dockerfile: Dockerfile.debian-jessie
tag_templates:
- "{{ .Tag }}-debian-jessie"
- image: 894847497797.dkr.ecr.us-west-2.amazonaws.com/aws-iam-authenticator
binary: aws-iam-authenticator
dockerfile: Dockerfile.debian-stretch
tag_templates:
- "{{ .Tag }}-debian-stretch"
- "{{ .Tag }}-debian"
snapshot:
name_template: "git-{{.ShortCommit}}"
archive:
format: binary
release:
github:
owner: kubernetes-sigs
name: aws-iam-authenticator
draft: true
prerelease: true
name_template: "v{{.Version}}"