@@ -55,6 +55,50 @@ archives:
5555 - LICENSE
5656 - README.md
5757
58+ dockers :
59+ - use : buildx
60+ goos : linux
61+ goarch : amd64
62+ dockerfile : contrib/Dockerfile.goreleaser
63+ extra_files : &docker_extra_files
64+ - LICENSE
65+ - README.md
66+ image_templates :
67+ - ghcr.io/hansmi/prometheus-lvm-exporter:{{.Tag}}-amd64
68+ build_flag_templates :
69+ - --pull
70+ - --platform=linux/amd64
71+ - --label=org.opencontainers.image.created={{.Date}}
72+ - --label=org.opencontainers.image.name={{.ProjectName}}
73+ - --label=org.opencontainers.image.revision={{.FullCommit}}
74+ - --label=org.opencontainers.image.version={{.Version}}
75+ - --label=org.opencontainers.image.source={{.GitURL}}
76+ - use : buildx
77+ goos : linux
78+ goarch : arm64
79+ dockerfile : contrib/Dockerfile.goreleaser
80+ extra_files : *docker_extra_files
81+ image_templates :
82+ - ghcr.io/hansmi/prometheus-lvm-exporter:{{.Tag}}-arm64
83+ build_flag_templates :
84+ - --pull
85+ - --platform=linux/arm64
86+ - --label=org.opencontainers.image.created={{.Date}}
87+ - --label=org.opencontainers.image.name={{.ProjectName}}
88+ - --label=org.opencontainers.image.revision={{.FullCommit}}
89+ - --label=org.opencontainers.image.version={{.Version}}
90+ - --label=org.opencontainers.image.source={{.GitURL}}
91+
92+ docker_manifests :
93+ - name_template : ghcr.io/hansmi/prometheus-lvm-exporter:{{.Tag}}
94+ image_templates : &docker_manifest_image_templates
95+ - ghcr.io/hansmi/prometheus-lvm-exporter:{{.Tag}}-amd64
96+ - ghcr.io/hansmi/prometheus-lvm-exporter:{{.Tag}}-arm64
97+ - name_template : ghcr.io/hansmi/prometheus-lvm-exporter:v{{.Major}}
98+ image_templates : *docker_manifest_image_templates
99+ - name_template : ghcr.io/hansmi/prometheus-lvm-exporter:latest
100+ image_templates : *docker_manifest_image_templates
101+
58102changelog :
59103 groups :
60104 - title : Dependencies
0 commit comments