-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
41 lines (35 loc) · 1.09 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
39
40
41
before:
hooks:
- make crd
builds:
- env:
- CGO_ENABLED=0
goarch:
- amd64
goos:
- linux
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-snapshot"
dockers:
- image_templates:
- docker.io/projectsyn/lieutenant-operator:{{ .Version }}
- quay.io/projectsyn/lieutenant-operator:{{ .Version }}
# For prereleases, updating `latest` and the floating tags of the major
# version does not make sense. Only the image for the exact version should
# be pushed.
- "{{ if not .Prerelease }}docker.io/projectsyn/lieutenant-operator:v{{ .Major }}{{ end }}"
- "{{ if not .Prerelease }}quay.io/projectsyn/lieutenant-operator:v{{ .Major }}{{ end }}"
- "{{ if not .Prerelease }}docker.io/projectsyn/lieutenant-operator:latest{{ end }}"
- "{{ if not .Prerelease }}quay.io/projectsyn/lieutenant-operator:latest{{ end }}"
use: buildx
extra_files:
- LICENSE
release:
prerelease: auto
github:
owner: projectsyn
name: lieutenant-operator
extra_files:
- glob: lieutenant-crd.yaml