-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
30 lines (29 loc) · 1.1 KB
/
.goreleaser.yml
File metadata and controls
30 lines (29 loc) · 1.1 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
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
project_name: vrsn
builds:
- env: [CGO_ENABLED=0]
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ldflags:
- -X "github.com/tx3stn/vrsn/cmd.Version={{.Version}}"
dockers:
- image_templates:
- "ghcr.io/tx3stn/vrsn:{{ .Version }}"
- "ghcr.io/tx3stn/vrsn:{{ .Major }}"
- "ghcr.io/tx3stn/vrsn:{{ .Major }}.{{ .Minor }}"
- "ghcr.io/tx3stn/vrsn:latest"
dockerfile: Dockerfile
build_flag_templates:
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://github.com/tx3stn/vrsn
- --label=org.opencontainers.image.source=https://github.com/tx3stn/vrsn
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT