forked from wagoodman/dive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
50 lines (45 loc) · 1.12 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
42
43
44
45
46
47
48
49
50
release:
prerelease: false
builds:
- binary: dive
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.buildTime={{.Date}}`.
brews:
- github:
owner: wagoodman
name: homebrew-dive
homepage: "https://github.com/wagoodman/dive/"
description: "A tool for exploring each layer in a docker image"
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
nfpms:
- license: MIT
maintainer: Alex Goodman
homepage: https://github.com/wagoodman/dive/
description: "A tool for exploring each layer in a docker image"
formats:
- rpm
- deb
dockers:
-
binaries:
- dive
dockerfile: Dockerfile
# todo: on 1.0 remove 'v' prefix
image_templates:
- "wagoodman/dive:latest"
- "wagoodman/dive:{{ .Tag }}"
- "wagoodman/dive:v{{ .Major }}"
- "wagoodman/dive:v{{ .Major }}.{{ .Minor }}"
build_flag_templates:
- "--build-arg=DOCKER_CLI_VERSION={{.Env.DOCKER_CLI_VERSION}}"