-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
61 lines (61 loc) · 1.74 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
51
52
53
54
55
56
57
58
59
60
61
version: 2
builds:
- main: ./cmd/bitbucket-semantic-pull-requests
ldflags:
- '-X main.version={{ .Version }} -X main.commit={{ .Commit }} -X main.date={{ .CommitDate }}'
env:
- CGO_ENABLED=0
flags:
- -trimpath
goos:
- linux
- windows
- darwin
goarch:
- '386'
- amd64
- arm
- arm64
- ppc64le
- s390x
goarm:
- '7'
mod_timestamp: '{{ .CommitTimestamp }}'
archives:
- name_template: '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}{{ if .Mips }}-{{ .Mips }}{{ end }}'
format: binary
checksum:
name_template: '{{ .ProjectName }}-checksums.txt'
kos:
- repository: ghcr.io/maxbrunet/bitbucket-semantic-pull-requests
bare: true
tags:
- '{{ .Tag }}'
- latest
base_image: cgr.dev/chainguard/static:latest@sha256:f5fe67ab41c65f55766d824a2d857a7f56c9058b8e077c43d4d809c467f28df8
creation_time: '{{ .CommitTimestamp }}'
ko_data_creation_time: '{{ .CommitTimestamp }}'
labels: &labels
org.opencontainers.image.authors: maxbrunet https://github.com/maxbrunet
org.opencontainers.image.created: '{{ .CommitDate }}'
org.opencontainers.image.licenses: Apache-2.0
org.opencontainers.image.source: https://github.com/maxbrunet/bitbucket-semantic-pull-requests
org.opencontainers.image.url: https://github.com/maxbrunet/bitbucket-semantic-pull-requests
org.opencontainers.image.vendor: maxbrunet
annotations: *labels
platforms:
- linux/386
- linux/amd64
- linux/arm/v7
- linux/arm64
- linux/ppc64le
- linux/s390x
docker_signs:
- artifacts: manifests
cmd: cosign
args:
- sign
- --yes
- ${artifact}
output: true