-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgoreleaser.yml
41 lines (37 loc) · 1.19 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
# View goreleaser docs for configuration settings
# https://goreleaser.com
---
project_name: catalog-importer
builds:
- binary: catalog-importer
main: cmd/catalog-importer/main.go
goos:
- darwin
- linux
goarch:
- amd64
- arm64
ldflags: >
-X github.com/incident-io/catalog-importer/cmd/catalog-importer/cmd.Version={{.Version}}
-X github.com/incident-io/catalog-importer/cmd/catalog-importer/cmd.Commit={{.Commit}}
-X github.com/incident-io/catalog-importer/cmd/catalog-importer/cmd.Date={{.Date}}
-a
-installsuffix cgo
env:
# Ensure what we link is available even without libc.
- CGO_ENABLED=0
# Set this so we can run specific pre-flights for whenever goreleaser is
# active.
- GORELEASER=true
brews:
- tap:
owner: incident-io
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
homepage: https://incident.io/
description: Official incident.io catalog importer, for syncing catalog entries.
dockers:
- image_templates:
- incidentio/{{ .ProjectName }}:latest
- incidentio/{{ .ProjectName }}:{{ .Tag }}
- incidentio/{{ .ProjectName }}:v{{ .Major }}