mirror of
https://github.com/goreleaser/nfpm
synced 2025-04-18 18:58:07 +02:00
1.4 KiB
1.4 KiB
Go's GOARCH to packager
nFPM was branched out of GoReleaser, so some of it lean towards "the Go way" (whatever that means).
GoReleaser passes a string joining GOARCH
, GOARM
, etc as the package
architecture, and nFPM converts to the correct one for each packager.
Bellow is a list of the current conversions that are made. Please, feel free to open an issue if you see anything wrong, or if you know the correct value of some missing architecture.
Thank you!
deb
GOARCH | Value |
---|---|
386 |
i386 |
amd64 |
x86_64 |
arm64 |
arm64 |
arm5 |
armel |
arm6 |
armhf |
arm7 |
armhf |
mips64le |
mips64el |
mips |
mips |
mipsle |
mipsel |
ppc64le |
ppc64el |
s390 |
s390x |
rpm
GOARCH | Value |
---|---|
386 |
i386 |
amd64 |
x86_64 |
arm64 |
aarch64 |
arm5 |
armv5tel |
arm6 |
armv6hl |
arm7 |
armv7hl |
mips64le |
mips64el |
mips |
mips |
mipsle |
mipsel |
apk
GOARCH | Value |
---|---|
386 |
x86 |
amd64 |
x86_64 |
arm64 |
aarch64 |
arm6 |
armhf |
arm7 |
armv7 |
ppc64le |
ppc64le |
s390 |
s390x |
archlinux
GOARCH | Value |
---|---|
386 |
i686 |
amd64 |
x86_64 |
arm64 |
aarch64 |
arm5 |
arm |
arm6 |
arm6h |
arm7 |
armv7h |