From b1fa45f76bbcf8023c97906801b6d9347ede7210 Mon Sep 17 00:00:00 2001 From: Hector Date: Sat, 9 Sep 2023 09:09:44 +0000 Subject: [PATCH] chore: add healthcheck file to gorelaser config (!112) * Add missing goreleaser config to include the healthcheck script in the docker image https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/112 --- .goreleaser.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 479c2fd..b2f87e4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -20,6 +20,8 @@ dockers: - "registry.gitlab.com/hectorjsmith/fail2ban-prometheus-exporter:{{ .Major }}.{{ .Minor }}-amd64" - 'registry.gitlab.com/hectorjsmith/fail2ban-prometheus-exporter:{{ .Version }}-amd64' - "registry.gitlab.com/hectorjsmith/fail2ban-prometheus-exporter:latest-amd64" + extra_files: + - health use: buildx build_flag_templates: - "--pull" @@ -37,6 +39,8 @@ dockers: - "registry.gitlab.com/hectorjsmith/fail2ban-prometheus-exporter:{{ .Major }}.{{ .Minor }}-arm64" - 'registry.gitlab.com/hectorjsmith/fail2ban-prometheus-exporter:{{ .Version }}-arm64' - "registry.gitlab.com/hectorjsmith/fail2ban-prometheus-exporter:latest-arm64" + extra_files: + - health use: buildx build_flag_templates: - "--pull"