-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
67 lines (60 loc) · 1.75 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: 2
builds:
- binary: __REPO__
goos:
- linux
goarch:
- amd64
- arm64
mod_timestamp: '{{ .CommitTimestamp }}'
env:
- CGO_ENABLED=0
flags:
- -trimpath
tags:
- netgo
- static_build
ldflags:
- >-
-s -w
# kos:
# - repository: ghcr.io/jkroepke/__REPO__
# tags:
# - "{{.Version}}"
# - latest
# bare: true
# base_image: gcr.io/distroless/static-debian12:nonroot # scratch is not supported, see https://github.com/ko-build/ko/pull/1350
# preserve_import_paths: false
# creation_time: "{{.CommitTimestamp}}"
# ko_data_creation_time: "{{.CommitTimestamp}}"
# platforms:
# - linux/amd64
# - linux/arm64
# labels:
# org.opencontainers.image.created: "{{.Date}}"
# org.opencontainers.image.title: "{{.ProjectName}}"
# org.opencontainers.image.revision: "{{.FullCommit}}"
# org.opencontainers.image.version: "{{.Version}}"
# org.opencontainers.image.source: "https://github.com/jkroepke/__REPO__"
# org.opencontainers.image.description: "Infinity Datasource Proxy is a middleware designed to enhance the functionality of the Infinity Datasource plugin for Grafana by addressing its limitations and extending its capabilities."
#
# docker_signs:
# - artifacts: manifests
# output: true
# cmd: cosign
# env:
# - COSIGN_EXPERIMENTAL=1
# args:
# - sign
# - '--oidc-issuer={{if index .Env "CI"}}https://token.actions.githubusercontent.com{{else}}https://oauth2.sigstore.dev/auth{{end}}'
# - '--yes'
# - '${artifact}'
report_sizes: true
metadata:
mod_timestamp: "{{ .CommitTimestamp }}"
gomod:
proxy: true
release:
prerelease: auto
changelog:
use: github-native