-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
35 lines (35 loc) · 1.06 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
project_name: terraform-registry
release:
github:
owner: postfinance
name: terraform-registry
builds:
- id: registry
goos:
- linux
goarch:
- amd64
main: ./cmd/registry/
binary: registry
env:
- CGO_ENABLED=0
checksum:
name_template: checksums.txt
dockers:
- ids:
- registry
goos: linux
goarch: amd64
dockerfile: packaging/docker/Dockerfile
image_templates:
- 'postfinance/terraform-registry:{{ .Major }}.{{ .Minor }}.{{ .Patch }}'
- 'postfinance/terraform-registry:{{ .Major }}.{{ .Minor }}'
- 'postfinance/terraform-registry:{{ .Major }}'
- 'postfinance/terraform-registry:latest'
extra_files:
- packaging/docker/docker-entrypoint.sh
build_flag_templates:
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .ShortCommit }}
- --label=org.opencontainers.image.created={{ .Date }}
- --label=org.opencontainers.image.vendor=PostFinance AG