-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
50 lines (41 loc) · 1.16 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
45
46
47
48
49
50
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
builds:
- id: release
binary: docker-credential-env
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- '-s -w -X "main.Version={{.Version}}" -X "main.Revision={{.FullCommit}}"'
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
checksum:
name_template: "checksums.txt"
nfpms:
- id: rpm
formats:
- apk
- deb
- rpm
archives:
- format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
changelog:
use: github-native
sort: asc
release:
prerelease: auto
header: |
Distributions for this release are published as binaries for Mac, Linux and Windows below. Download, extract and install the binary appropriate to the target system in order to use it as a credential helper.
In order for Docker to be able to use the binary, it must be:
- in the PATH
- have the name `docker-credential-env`, and
- be executable by the required user.
Note that it is sufficient to create an appropriately named symbolic link to make it discoverable by Docker.