-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy path.goreleaser.arm64.yml
More file actions
58 lines (53 loc) · 1.43 KB
/
.goreleaser.arm64.yml
File metadata and controls
58 lines (53 loc) · 1.43 KB
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
version: 2
project_name: observiq-otel-collector
before:
hooks:
- make release-prep CURR_VERSION={{ .Version }}
builds:
- id: collector
binary: observiq-otel-collector
main: ./cmd/collector
env:
- CGO_ENABLED=0
mod_timestamp: "{{ .CommitTimestamp }}"
tags:
- bindplane
goos:
- linux
goarch:
- arm64
ldflags:
- -s -w
- -X github.com/observiq/bindplane-otel-contrib/pkg/version.version=v{{ .Version }}
- -X github.com/observiq/bindplane-otel-contrib/pkg/version.gitHash={{ .FullCommit }}
- -X github.com/observiq/bindplane-otel-contrib/pkg/version.date={{ .Date }}
dockers:
- id: ubuntu-arm64
goos: linux
goarch: arm64
retry:
attempts: 10
delay: 30s
max_delay: 1m
ids:
- collector
image_templates:
- "observiq/bindplane-agent-arm64:{{ .Version }}"
- "observiq/bindplane-agent-arm64:latest"
dockerfile: ./docker/Dockerfile.ubuntu
use: buildx
build_flag_templates:
- "--label=created={{.Date}}"
- "--label=title={{.ProjectName}}"
- "--label=revision={{.FullCommit}}"
- "--label=version={{.Version}}"
- "--platform=linux/arm64"
extra_files:
- release_deps/VERSION.txt
- release_deps/plugins
- release_deps/config.yaml
- config/logging.stdout.yaml
- LICENSE
- release_deps/opentelemetry-java-contrib-jmx-metrics.jar
changelog:
disable: true