From b359a946bfd499b99e916cd4e00a13d1c3f45a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bojan=20=C4=8Cekrli=C4=87?= Date: Fri, 31 Jan 2025 07:26:42 +0100 Subject: [PATCH] Fix: Remove linux/arm/v6 from build of postfix-exporter --- .github/actions/build-postfix-exporter/action.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/build-postfix-exporter/action.yaml b/.github/actions/build-postfix-exporter/action.yaml index f5a8b50..8e7fecf 100644 --- a/.github/actions/build-postfix-exporter/action.yaml +++ b/.github/actions/build-postfix-exporter/action.yaml @@ -68,7 +68,10 @@ runs: push: true tags: '${{ inputs.tags }}' labels: ${{ steps.meta.outputs.labels }} - platforms: "linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/mips64le,linux/ppc64le,linux/s390x" + # linux/arm/v5 and linux/arm/v6 are not supported anymore by upstream Go docker images. + # Technically, we could build them but we would need to bootstrap the whole Go compiler. + # However, I'm not sure if it's worth it. + platforms: "linux/amd64,linux/arm/v7,linux/arm64/v8,linux/mips64le,linux/ppc64le,linux/s390x" # linux/386,linux/arm/v6,linux/arm64,linux/riscv64" cache-from: type=local,src=/tmp/.buildx-cache/postfix-exporter,mode=max,compression=estargz cache-to: type=local,dest=/tmp/.buildx-cache-new/postfix-exporter