-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.goreleaser.yaml
44 lines (37 loc) · 1.38 KB
/
.goreleaser.yaml
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
version: 2
builds:
- env:
- CGO_ENABLED=0
goarch:
- amd64
- arm64
ldflags:
- -s
- -w
- -X github.com/patrickhoefler/dockerfilegraph/internal/cmd.gitVersion={{.Version}}
- -X github.com/patrickhoefler/dockerfilegraph/internal/cmd.gitCommit={{.Commit}}
- -X github.com/patrickhoefler/dockerfilegraph/internal/cmd.buildDate={{.Date}}
changelog:
disable: true
dockers:
- dockerfile: Dockerfile
image_templates:
- 'ghcr.io/patrickhoefler/dockerfilegraph:latest'
- 'ghcr.io/patrickhoefler/dockerfilegraph:{{ .Major }}'
- 'ghcr.io/patrickhoefler/dockerfilegraph:{{ .Major }}.{{ .Minor }}'
- 'ghcr.io/patrickhoefler/dockerfilegraph:{{ .Major }}.{{ .Minor }}.{{ .Patch }}'
- dockerfile: Dockerfile.alpine
image_templates:
- 'ghcr.io/patrickhoefler/dockerfilegraph:alpine'
- 'ghcr.io/patrickhoefler/dockerfilegraph:latest-alpine'
- 'ghcr.io/patrickhoefler/dockerfilegraph:{{ .Major }}-alpine'
- 'ghcr.io/patrickhoefler/dockerfilegraph:{{ .Major }}.{{ .Minor }}-alpine'
- 'ghcr.io/patrickhoefler/dockerfilegraph:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-alpine'
brews:
- repository:
owner: patrickhoefler
name: homebrew-tap
homepage: https://github.com/patrickhoefler/dockerfilegraph
description: 'Visualize your multi-stage Dockerfile'
dependencies:
- graphviz