dive/.goreleaser.yaml

58 lines
1.5 KiB
YAML
Raw Normal View History

2018-10-17 04:56:35 +02:00
release:
# If set to auto, will mark the release as not ready for production in case there is an indicator for this in the
# tag e.g. v1.0.0-rc1 .If set to true, will mark the release as not ready for production.
prerelease: auto
# If set to true, will not auto-publish the release. This is done to allow us to review the changelog before publishing.
draft: false
2018-10-17 04:56:35 +02:00
builds:
- binary: dive
2019-11-09 16:48:19 +01:00
env:
- CGO_ENABLED=0
2018-10-17 04:56:35 +02:00
goos:
2018-11-30 05:03:59 +01:00
- windows
2018-10-17 04:56:35 +02:00
- darwin
- linux
goarch:
- amd64
- arm64
2018-10-17 04:56:35 +02:00
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.buildTime={{.Date}}`.
2019-11-09 18:27:52 +01:00
brews:
- repository:
2019-11-09 18:27:52 +01:00
owner: wagoodman
name: homebrew-dive
2023-07-07 17:42:48 +02:00
token: "{{.Env.TAP_GITHUB_TOKEN}}"
2019-11-09 18:27:52 +01:00
homepage: "https://github.com/wagoodman/dive/"
description: "A tool for exploring layers in a docker image"
2019-11-09 18:27:52 +01:00
2019-11-05 23:52:20 +01:00
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
2018-12-02 04:36:10 +01:00
2019-11-05 23:52:20 +01:00
nfpms:
- license: MIT
maintainer: Alex Goodman
homepage: https://github.com/wagoodman/dive/
description: "A tool for exploring layers in a docker image"
2019-11-05 23:52:20 +01:00
formats:
- rpm
2019-11-09 18:27:52 +01:00
- deb
2018-10-17 04:56:35 +02:00
2019-11-09 18:27:52 +01:00
dockers:
-
ids:
2019-11-09 18:27:52 +01:00
- dive
dockerfile: Dockerfile
2019-11-09 20:49:42 +01:00
# todo: on 1.0 remove 'v' prefix
2019-11-09 18:27:52 +01:00
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}}"