GOARCH to Packager

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!


GOARCHValue
386i386
amd64amd64
arm64arm64
arm5armel
arm6armhf
arm7armhf
mips64lemips64el
mipsmips
mipslemipsel
ppc64leppc64el
s390s390x
GOARCHValue
386i386
amd64x86_64
arm64aarch64
arm5armv5tel
arm6armv6hl
arm7armv7hl
mips64lemips64el
mipsmips
mipslemipsel
GOARCHValue
386x86
amd64x86_64
arm64aarch64
arm6armhf
arm7armv7
ppc64leppc64le
s390s390x
GOARCHValue
386i686
amd64x86_64
arm64aarch64
arm5arm
arm6arm6h
arm7armv7h
Last updated on