forked from italia/developers-italia-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
35 lines (35 loc) · 770 Bytes
/
.goreleaser.yaml
File metadata and controls
35 lines (35 loc) · 770 Bytes
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
# Make sure to check the documentation at https://goreleaser.com
version: 2
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- binary: software-catalog-api
env:
- CGO_ENABLED=0
ldflags:
- -s -w
goos:
- linux
archives:
- formats:
- tar.gz
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
dockers:
-
dockerfile: Dockerfile.goreleaser
image_templates:
- "ghcr.io/italia/developers-italia-api:{{ .Tag }}"
- "ghcr.io/italia/developers-italia-api:latest"