-
-
Notifications
You must be signed in to change notification settings - Fork 290
Expand file tree
/
Copy path.goreleaser.nightly.yml
More file actions
66 lines (55 loc) · 1.33 KB
/
.goreleaser.nightly.yml
File metadata and controls
66 lines (55 loc) · 1.33 KB
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
61
62
63
64
65
66
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
version: 2
project_name: flipt
git:
tag_sort: semver
monorepo:
tag_prefix: v
builds:
- builder: prebuilt
goos:
- linux
- darwin
goarch:
- amd64
- arm64
goamd64:
- v1
prebuilt:
path: tmp/dist/flipt_{{ .Os }}_{{ .Arch }}{{ with .Amd64 }}_{{ . }}{{ end }}{{ with .Arm64 }}_{{ . }}{{ end }}/flipt
binary: flipt
sboms:
- artifacts: archive
archives:
- id: main
name_template: >-
{{ .ProjectName }}_
{{- tolower .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
files:
- LICENSE
checksum:
name_template: "checksums.txt"
release:
prerelease: auto # enable rc releases (e.g. v1.0.0-rc.1)
target_commitish: "{{ .Commit }}"
nightly:
# Static v2-nightly version for all nightly builds from v2 branch
version_template: "v2-nightly"
changelog:
disable: true
dockers_v2:
- dockerfile: ./build/Dockerfile
images:
- "flipt/flipt"
- "ghcr.io/flipt-io/flipt"
tags:
- "{{ .Version }}"
platforms:
- linux/amd64
- linux/arm64
labels:
"org.opencontainers.image.created": "{{.Date}}"
"org.opencontainers.image.revision": "{{.FullCommit}}"
"org.opencontainers.image.version": "{{.Version}}"