4
4
builds :
5
5
- env :
6
6
- CGO_ENABLED=0
7
- binary : rabbitmq_exporter-{{.Version}}.{{.Target}}
7
+ # binary: rabbitmq_exporter-{{.Version}}.{{.Target}}
8
8
targets :
9
9
- linux_amd64
10
10
- linux_arm64
@@ -28,4 +28,94 @@ changelog:
28
28
- ' ^docs:'
29
29
- ' ^test:'
30
30
release :
31
- discussion_category_name : Announcements
31
+ discussion_category_name : Announcements
32
+
33
+ dockers :
34
+ - goos : linux
35
+ goarch : amd64
36
+ image_templates :
37
+ - " kbudde/rabbitmq-exporter:linux-amd64-{{.ShortCommit}}"
38
+ - " ghcr.io/kbudde/rabbitmq_exporter:linux-amd64-{{.ShortCommit}}"
39
+ use : buildx
40
+ build_flag_templates :
41
+ - " --label=org.opencontainers.image.created={{.Date}}"
42
+ - " --label=org.opencontainers.image.title={{.ProjectName}}"
43
+ - " --label=org.opencontainers.image.revision={{.FullCommit}}"
44
+ - " --label=org.opencontainers.image.version={{.Version}}"
45
+ - " --label=org.opencontainers.image.source=https://github.com/kbudde/rabbitmq_exporter"
46
+ - " --platform=linux/amd64"
47
+
48
+ - goos : linux
49
+ goarch : arm
50
+ goarm : 6
51
+ image_templates :
52
+ - " kbudde/rabbitmq-exporter:linux-arm6-{{.ShortCommit}}"
53
+ - " ghcr.io/kbudde/rabbitmq_exporter:linux-arm6-{{.ShortCommit}}"
54
+ use : buildx
55
+ build_flag_templates :
56
+ - " --label=org.opencontainers.image.created={{.Date}}"
57
+ - " --label=org.opencontainers.image.title={{.ProjectName}}"
58
+ - " --label=org.opencontainers.image.revision={{.FullCommit}}"
59
+ - " --label=org.opencontainers.image.version={{.Version}}"
60
+ - " --label=org.opencontainers.image.source=https://github.com/kbudde/rabbitmq_exporter"
61
+ - " --platform=linux/arm/v6"
62
+
63
+ - goos : linux
64
+ goarch : arm
65
+ goarm : 7
66
+ image_templates :
67
+ - " kbudde/rabbitmq-exporter:linux-arm7-{{.ShortCommit}}"
68
+ - " ghcr.io/kbudde/rabbitmq_exporter:linux-arm7-{{.ShortCommit}}"
69
+ use : buildx
70
+ build_flag_templates :
71
+ - " --label=org.opencontainers.image.created={{.Date}}"
72
+ - " --label=org.opencontainers.image.title={{.ProjectName}}"
73
+ - " --label=org.opencontainers.image.revision={{.FullCommit}}"
74
+ - " --label=org.opencontainers.image.version={{.Version}}"
75
+ - " --label=org.opencontainers.image.source=https://github.com/kbudde/rabbitmq_exporter"
76
+ - " --platform=linux/arm/v7"
77
+
78
+ - goos : linux
79
+ goarch : arm64
80
+ image_templates :
81
+ - " kbudde/rabbitmq-exporter:linux-arm64-{{.ShortCommit}}"
82
+ - " ghcr.io/kbudde/rabbitmq_exporter:linux-arm64-{{.ShortCommit}}"
83
+ use : buildx
84
+ build_flag_templates :
85
+ - " --label=org.opencontainers.image.created={{.Date}}"
86
+ - " --label=org.opencontainers.image.title={{.ProjectName}}"
87
+ - " --label=org.opencontainers.image.revision={{.FullCommit}}"
88
+ - " --label=org.opencontainers.image.version={{.Version}}"
89
+ - " --label=org.opencontainers.image.source=https://github.com/kbudde/rabbitmq_exporter"
90
+ - " --platform=linux/arm64"
91
+
92
+
93
+ docker_manifests :
94
+ -
95
+ name_template : ghcr.io/kbudde/rabbitmq_exporter:latest
96
+ image_templates :
97
+ - ghcr.io/kbudde/rabbitmq_exporter:linux-amd64-{{.ShortCommit}}
98
+ - ghcr.io/kbudde/rabbitmq_exporter:linux-arm6-{{.ShortCommit}}
99
+ - ghcr.io/kbudde/rabbitmq_exporter:linux-arm7-{{.ShortCommit}}
100
+ - ghcr.io/kbudde/rabbitmq_exporter:linux-arm64-{{.ShortCommit}}
101
+ -
102
+ name_template : kbudde/rabbitmq-exporter:latest
103
+ image_templates :
104
+ - kbudde/rabbitmq-exporter:linux-amd64-{{.ShortCommit}}
105
+ - kbudde/rabbitmq-exporter:linux-arm6-{{.ShortCommit}}
106
+ - kbudde/rabbitmq-exporter:linux-arm7-{{.ShortCommit}}
107
+ - kbudde/rabbitmq-exporter:linux-arm64-{{.ShortCommit}}
108
+ -
109
+ name_template : ghcr.io/kbudde/rabbitmq_exporter:{{.Version}}
110
+ image_templates :
111
+ - ghcr.io/kbudde/rabbitmq_exporter:linux-amd64-{{.ShortCommit}}
112
+ - ghcr.io/kbudde/rabbitmq_exporter:linux-arm6-{{.ShortCommit}}
113
+ - ghcr.io/kbudde/rabbitmq_exporter:linux-arm7-{{.ShortCommit}}
114
+ - ghcr.io/kbudde/rabbitmq_exporter:linux-arm64-{{.ShortCommit}}
115
+ -
116
+ name_template : kbudde/rabbitmq-exporter:{{.Version}}
117
+ image_templates :
118
+ - kbudde/rabbitmq-exporter:linux-amd64-{{.ShortCommit}}
119
+ - kbudde/rabbitmq-exporter:linux-arm6-{{.ShortCommit}}
120
+ - kbudde/rabbitmq-exporter:linux-arm7-{{.ShortCommit}}
121
+ - kbudde/rabbitmq-exporter:linux-arm64-{{.ShortCommit}}
0 commit comments