-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yml
39 lines (35 loc) · 1.31 KB
/
.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
builds:
# You can have multiple builds defined as a yaml list
-
# GOOS list to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
# Defaults are darwin and linux.
goos:
- darwin
- linux
# GOARCH to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
# Defaults are 386, amd64 and arm64.
goarch:
- amd64
- arm64
- 386
dockers:
# You can have multiple Docker images.
-
# GOOS of the built binaries/packages that should be used.
goos: linux
# GOARCH of the built binaries/packages that should be used.
goarch: amd64
# Templates of the Docker image names.
image_templates:
- "docker.pkg.github.com/navid2zp/citus-failover/citus-failover:latest"
- "docker.pkg.github.com/navid2zp/citus-failover/citus-failover:{{ .Tag }}"
- "docker.pkg.github.com/navid2zp/citus-failover/citus-failover:v{{ .Major }}"
- "docker.pkg.github.com/navid2zp/citus-failover/citus-failover:v{{ .Major }}.{{ .Minor }}"
- "navid2zp/citus-failover:latest"
- "navid2zp/citus-failover:{{ .Tag }}"
- "navid2zp/citus-failover:v{{ .Major }}"
- "navid2zp/citus-failover:v{{ .Major }}.{{ .Minor }}"
# Path to the Dockerfile (from the project root).
dockerfile: Dockerfile