From 1004f4b5c49884de46dde35b787cf0fa0fc68f81 Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Mon, 22 Mar 2021 12:39:22 +0100 Subject: [PATCH] transform binary name for arm packages Signed-off-by: Guillaume Tardif --- builder.Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder.Makefile b/builder.Makefile index be8e0a00e..d6ad9a1fe 100644 --- a/builder.Makefile +++ b/builder.Makefile @@ -42,9 +42,9 @@ ifdef BUILD_TAGS LINT_TAGS=--build-tags $(BUILD_TAGS) endif -TAR_TRANSFORM:=--transform s/packaging/docker/ --transform s/bin/docker/ --transform s/docker-linux-amd64/docker/ --transform s/docker-darwin-amd64/docker/ +TAR_TRANSFORM:=--transform s/packaging/docker/ --transform s/bin/docker/ --transform s/docker-linux-amd64/docker/ --transform s/docker-darwin-amd64/docker/ --transform s/docker-linux-arm64/docker/ --transform s/docker-darwin-arm64/docker/ ifneq ($(findstring bsd,$(shell tar --version)),) - TAR_TRANSFORM=-s /packaging/docker/ -s /bin/docker/ -s /docker-linux-amd64/docker/ -s /docker-darwin-amd64/docker/ + TAR_TRANSFORM=-s /packaging/docker/ -s /bin/docker/ -s /docker-linux-amd64/docker/ -s /docker-darwin-amd64/docker/ -s /docker-linux-arm64/docker/ -s /docker-darwin-arm64/docker/ endif all: cli