From 093154fa6c1d740d6cb7bfc66eb9e7ca13139d1b Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Mon, 22 Nov 2021 16:09:54 -0500 Subject: [PATCH] Only build armv7, not armv6 anymore --- .goreleaser.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 03c64403..8a98d0af 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,7 +13,7 @@ builds: goos: [linux] goarch: [amd64] - - id: ntfy_arm67 + id: ntfy_armv7 binary: ntfy env: - CGO_ENABLED=1 # required for go-sqlite3 @@ -23,9 +23,7 @@ builds: - "-linkmode=external -extldflags=-static -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}" goos: [linux] goarch: [arm] - goarm: - - 6 - - 7 + goarm: [7] - id: ntfy_arm64 binary: ntfy @@ -89,15 +87,24 @@ dockers: - &arm64v8_image "binwiederhier/ntfy:{{ .Tag }}-arm64v8" use: buildx dockerfile: Dockerfile - goarch: arm64 build_flag_templates: - "--platform=linux/arm64/v8" + - image_templates: + - &armv7_image "binwiederhier/ntfy:{{ .Tag }}-armv7" + use: buildx + dockerfile: Dockerfile + goarch: arm + goarm: 7 + build_flag_templates: + - "--platform=linux/arm/v7" docker_manifests: - name_template: "binwiederhier/ntfy:latest" image_templates: - *amd64_image - *arm64v8_image + - *armv7_image - name_template: "binwiederhier/ntfy:{{ .Tag }}" image_templates: - *amd64_image - *arm64v8_image + - *armv7_image