-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
51 lines (44 loc) · 929 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
45
46
47
48
49
50
51
project_name: autobot-plugin-hello-world
env:
- CGO_ENABLED=0
- GO111MODULE=on
builds:
-
id: autobot-plugin-hello-world
binary: autobot-plugin-hello-world
main: main.go
ldflags:
- -s -w
goos:
- windows
- darwin
- linux
goarch:
- 386
- amd64
ignore:
- goos: darwin
goarch: 386
release:
draft: false
snapshot:
name_template: "{{.Tag}}"
checksum:
name_template: "autobot_plugin_hello_world_checksums.txt"
archives:
-
id: plugin-slack
builds:
- autobot-plugin-hello-world
name_template: "plugin_slack_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
dockers:
-
dockerfile: Dockerfile
goos: linux
goarch: amd64
binaries:
- autobot-plugin-hello-world
image_templates:
- "andersnormal/{{.ProjectName}}:latest"
- "andersnormal/{{.ProjectName}}:{{ .Tag }}"
- "andersnormal/{{.ProjectName}}"