diff --git a/.goreleaser.yml b/.goreleaser.yml index 1f9d2d8a..9347857f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -23,8 +23,11 @@ builds: - arm - arm64 goarm: + # Because of a limitation in DEB packaging we can only build and package + # a single ARMv6 or v7 variant at a single time. As ARMv6 is upwards + # compatible with ARMv7 so let's only build ARMv6 here (default value + # anyway) - 6 - - 7 ignore: - goos: windows goarch: arm @@ -155,7 +158,8 @@ dockers: - "--label=org.opencontainers.image.version={{.Version}}" - image_templates: [ "ghcr.io/symfony-cli/{{ .ProjectName }}:{{ .Version }}-arm32v7" ] goarch: arm - goarm: '7' + # ARMv6 is upwards compatible with ARMv7 + goarm: '6' use: buildx build_flag_templates: - "--pull" diff --git a/installer/bash-installer b/installer/bash-installer index f5a2f2a6..a34d287e 100755 --- a/installer/bash-installer +++ b/installer/bash-installer @@ -129,7 +129,8 @@ case ${machine} in machine="armv6" ;; armv7*) - machine="armv7" + # ARMv6 is upwards compatible with ARMv7 + machine="armv6" ;; aarch64*|armv8*|arm64) machine="arm64"