diff --git a/.github/workflows/go.yml b/.github/workflows/build.yml
similarity index 100%
rename from .github/workflows/go.yml
rename to .github/workflows/build.yml
diff --git a/.goreleaser.yml b/.goreleaser.yml
new file mode 100644
index 0000000000000000000000000000000000000000..7d18a89fee7e272497ead8f5127fed8aa6b4fb26
--- /dev/null
+++ b/.goreleaser.yml
@@ -0,0 +1,52 @@
+env:
+  - GO111MODULE=on
+  - GOPROXY=https://gocenter.io
+before:
+  hooks:
+    - go mod download
+builds:
+- env:
+    - CGO_ENABLED=0
+  goos:
+    - linux
+    - darwin
+    - windows
+  goarch:
+    - 386
+    - amd64
+    - arm
+    - arm64
+  ignore:
+    - goos: darwin
+      goarch: 386
+checksum:
+  name_template: '{{ .ProjectName }}_checksums.txt'
+changelog:
+  sort: asc
+  filters:
+    exclude:
+    - '^docs:'
+    - '^test:'
+    - Merge pull request
+    - Merge branch
+archives:
+  - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
+    replacements:
+      darwin: Darwin
+      linux: Linux
+      windows: Windows
+      386: i386
+      amd64: x86_64
+    format_overrides:
+    - goos: windows
+      format: zip
+nfpms:
+  - file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
+    homepage:  https://github.com/aleroyer/rsyslog_exporter
+    description: rsyslog-exporter for prometheus
+    maintainer: Antoine Leroyer <aleroyer@deezer.com>
+    license: Apache 2.0
+    bindir: /usr/bin
+    formats:
+    - deb
+    - rpm