forked from nderjung/concourse-github-pr-comment-resource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
33 lines (29 loc) · 786 Bytes
/
.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
release:
prerelease: false
builds:
- binary: dist/github-pr-comment
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.buildTime={{.Date}}`.
dockers:
- dockerfile: Dockerfile
use: docker
# todo: on 1.0 remove 'v' prefix
image_templates:
- "ndrjng/concourse-github-pr-comment-resource:latest"
- "ndrjng/concourse-github-pr-comment-resource:{{ .Tag }}"
- "ndrjng/concourse-github-pr-comment-resource:v{{ .Major }}"
- "ndrjng/concourse-github-pr-comment-resource:v{{ .Major }}.{{ .Minor }}"
extra_files:
- go.mod
- go.sum
- main.go
- cmd/
- api/
- actions/
- assets/
- Makefile