Fix builds on m1 mac

Ensure that docker images gets build in x64 arch, and use nfpm instead of fpm
This commit is contained in:
Leonid Bugaev
2022-01-12 13:00:23 +03:00
parent 6c89827ba5
commit 9c5f011bb7
3 changed files with 34 additions and 8 deletions
+22
View File
@@ -0,0 +1,22 @@
# nfpm example config file
#
# check https://nfpm.goreleaser.com/configuration for detailed usage
#
name: "GoReplay"
arch: "amd64"
platform: "linux"
version: "v1.3.1"
section: "default"
priority: "extra"
provides:
- goreplay
maintainer: "Leonid Bugaev <hello@goreplay.org>"
description: |
GoReplay is the simplest and safest way to test your app using real traffic before you put it into production.
vendor: "GoReplay"
homepage: "https://goreplay.org"
license: "AGPL"
contents:
- src: ./
dst: /usr/local/bin
type: dir